From 378e1b4a5738319b9ea2807826b11c8b84fa1eaa Mon Sep 17 00:00:00 2001 From: lxoliva Date: Mon, 9 Jan 2017 22:38:10 +0000 Subject: [PATCH] accept new (in 4.9.2 and 4.8.17) uses of nouveau false positives git-svn-id: http://www.fsfla.org/svn/fsfla/software/linux-libre/scripts@13475 559672b5-ba27-0410-b829-e8f1faed8b1b --- deblob-check | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/deblob-check b/deblob-check index 946a4195882..fdcf1035a67 100755 --- a/deblob-check +++ b/deblob-check @@ -1,13 +1,13 @@ #! /bin/sh -# deblob-check version 2016-12-24 +# deblob-check version 2017-01-09 # Inspired in gNewSense's find-firmware script. # Written by Alexandre Oliva # Check http://www.fsfla.org/svn/fsfla/software/linux-libre for newer # versions. -# Copyright 2008-2016 Alexandre Oliva +# Copyright 2008-2017 Alexandre Oliva # # This program is part of GNU Linux-libre, a GNU project that # publishes scripts to clean up Linux so as to make it suitable for @@ -4585,7 +4585,11 @@ set_except () { # matches, to avoid numerous false positives in sound pcm drivers. blobna '["]pcm[45]["]' 'drivers/net/wireless/broadcom/b43\(legacy\)\?\.c' blobna '[/][*][ ]What[ ]about[ ][^ \n]*initvals22[?][ ][*][/]' drivers/net/wireless/broadcom/b43.c - ;; + + # New in 4.9.2 and 4.8.17. + accept '[\t]*fwname[ ]=[ ]["]fuc4\(09\|1a\)[cd]["][;]' drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c + accept '[\t]*snprintf[(]f[,][ ]sizeof[(]f[)][,][ ]["]nouveau[/]nv%02x_%s["][,][ ]device->chipset[,][ ]fwname[)][;][\n][\t]*ret[ ]=[ ]request_firmware[(][&]fw[,][ ]f[,][ ]device->dev[)][;][\n][\t]*if[ ][(]ret[)][ ][{][\n][\t]*snprintf[(]f[,][ ]sizeof[(]f[)][,][ ]["]nouveau[/]%s["][,][ ]fwname[)][;][\n][\t]*ret[ ]=[ ]request_firmware[(][&]fw[,][ ]f[,][ ]device->dev[)][;]' drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c + ;; */*freedo*.patch | */*logo*.patch) accept 'P[13]\([\n]#[^\n]*\)*[\n]*\([\n][0-9 ]*\)\+' drivers/video/logo/logo_libre_clut224.ppm -- 2.31.1