summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Oliva <lxoliva@fsfla.org>2017-01-09 22:33:37 +0000
committerAlexandre Oliva <lxoliva@fsfla.org>2017-01-09 22:33:37 +0000
commit85e6b02a0046bb9187f0506ecbe10ac2ed35e87e (patch)
tree9eeda1a38bfbd01c8f1ce710208182c489251628
parent3824c6ba9f803139bde3fad2df9bffc7dfc9b698 (diff)
downloadlinux-libre-raptor-85e6b02a0046bb9187f0506ecbe10ac2ed35e87e.tar.gz
linux-libre-raptor-85e6b02a0046bb9187f0506ecbe10ac2ed35e87e.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..cf61eea9a 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
@@ -4585,6 +4585,10 @@ 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)
OpenPOWER on IntegriCloud