From 76493a7217cc1a70a1eb65ca06e72f76f556c0ec Mon Sep 17 00:00:00 2001 From: lxoliva Date: Fri, 23 Jan 2009 23:34:29 +0000 Subject: [PATCH] Clean up patterns for files that are now matched within linux-*.*.*. git-svn-id: http://www.fsfla.org/svn/fsfla/software/linux-libre/scripts@4700 559672b5-ba27-0410-b829-e8f1faed8b1b --- deblob-check | 25 +++++++------------------ 1 file changed, 7 insertions(+), 18 deletions(-) diff --git a/deblob-check b/deblob-check index 3280b044d7e..7724a5251d4 100755 --- a/deblob-check +++ b/deblob-check @@ -573,24 +573,6 @@ set_except () { blobna "request_firmware\\(_nowait\\)\\?" case $prefix$1 in - /drivers/net/tg3.c) - # This file contains firmwares that we deblob with high - # sensitivity, so make sure the sequences of numbers that are not - # blobs are not deblobbed. FIXME: we should have patterns to - # recognize the blobs instead. - defsnc ' static const u32 test_pat\[4\]\[6\] =' drivers/net/tg3.c - accept " }\\(,\\? mem_tbl_5\\(70x\\|705\\|755\\|906\\)\\[\\] = {$sepx$blobpat*$sepx}\\)*;" drivers/net/tg3.c - ;; - - ---/drivers/media/video/gspca/conex.c) - # FIXME: we shouldn't have to duplicate this here, but deblob - # doesn't pass us a pathname that matches linux-*.*.*/, and then - # we end up deblobbing false positives. - defsnc 'static const __u8 cx_inits_\(176\|320\|352\|640\)\[\] =' drivers/media/video/gspca/conex.c - defsnc 'static const __u8 cx_jpeg_init\[\]\[8\] =' drivers/media/video/gspca/conex.c - defsnc 'static const __u8 cxjpeg_\(640\|352\|320\|176\|qtable\)\[\]\[8\] =' drivers/media/video/gspca/conex.c - ;; - */*linux*.tar* | */*kernel*.tar* | */*linux-*.*.*/*) # false alarms, contain source # drivers/net/wan/wanxlfw.inc_shipped -> wanxlfw.S @@ -665,6 +647,13 @@ set_except () { defsnc 'static const char zr360[56]0_dqt\[0x86\] =' 'drivers/media/video/zr36060\.c\|drivers/media/video/zoran/zr36060\.c' defsnc 'static u8 tas3004_treble_table\[\] =' sound/aoa/codecs/tas-basstreble.h + # This file contains firmwares that we deblob with high + # sensitivity, so make sure the sequences of numbers that are not + # blobs are not deblobbed. FIXME: we should have patterns to + # recognize the blobs instead. + defsnc ' static const u32 test_pat\[4\]\[6\] =' drivers/net/tg3.c + accept " }\\(,\\? mem_tbl_5\\(70x\\|705\\|755\\|906\\)\\[\\] = {$sepx$blobpat*$sepx}\\)*;" drivers/net/tg3.c + # end of generic checked expressions. # version-specific checked bits start here -- 2.31.1