summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Oliva <lxoliva@fsfla.org>2017-01-09 21:24:22 +0000
committerAlexandre Oliva <lxoliva@fsfla.org>2017-01-09 21:24:22 +0000
commiteeeb3f01552a906a0ccf44cb4e4110e7ac82a837 (patch)
treed1fe5a85302a510cbf72f3b18108b892ae0b5819
parentecd4c62e718f86c47d9b3b308585151ba05e4828 (diff)
downloadlinux-libre-raptor-eeeb3f01552a906a0ccf44cb4e4110e7ac82a837.tar.gz
linux-libre-raptor-eeeb3f01552a906a0ccf44cb4e4110e7ac82a837.zip
accept new (in 4.9.2 and 4.8.17) uses of nouveau false positives
-rwxr-xr-xscripts/deblob-check8
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/deblob-check b/scripts/deblob-check
index 946a41958..c691df663 100755
--- a/scripts/deblob-check
+++ b/scripts/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 <lxoliva@fsfla.org>
# Check http://www.fsfla.org/svn/fsfla/software/linux-libre for newer
# versions.
-# Copyright 2008-2016 Alexandre Oliva <lxoliva@fsfla.org>
+# Copyright 2008-2017 Alexandre Oliva <lxoliva@fsfla.org>
#
# 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
@@ -6207,6 +6207,10 @@ set_except () {
defsnc '[ ]\(static[ ]const[ ]\)\?u32[ ]reg_boundaries\[\][ ]=' drivers/net/bnx2.c
initnc 'static[ ]const[ ]struct[ ]ath5k_ini_mode[ ]rf\(5413\|24\(13\|25\)\)_ini_mode_end\[\][ ]=' drivers/net/wireless/ath5k/initvals.c
defsnc 'static[ ]u32[ ]\(h_prescale\|v_gain\)\[64\][ ]=' drivers/staging/stradis/stradis.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
;;
*/patch*-2.6.38*)
OpenPOWER on IntegriCloud