Copy hid_keyboard false positive to linux-2.6-v4l-dvb*.
[releases.git] / deblob-check
index ec4fdf5a8f4d36cd4d761c77982962b19b720d57..5d77be75e1492f983bf7af29c99a7b67220ca924 100755 (executable)
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# deblob-check version 2011-02-24.2
+# deblob-check version 2011-04-22.1
 # Inspired in gNewSense's find-firmware script.
 # Written by Alexandre Oliva <lxoliva@fsfla.org>
 
@@ -1907,7 +1907,7 @@ set_except () {
     initnc '[  ]static[ ]unsigned[ ]char[ ]static_pad\[\][ ]='
     initnc '[  ]static[ ]unsigned[ ]char[ ]table_alaw2ulaw\[\][ ]='
     initnc '[  ]static[ ]unsigned[ ]char[ ]table_ulaw2alaw\[\][ ]='
-    defsnc '[  ]u32[ ]reg_boundaries\[\][ ]=' drivers/net/bnx2.c
+    defsnc '[  ]\(static[ ]const[ ]\)\?u32[ ]reg_boundaries\[\][ ]=' drivers/net/bnx2.c
     initnc '[  ]u8[ ]b\[\][ ]='
     initnc '[  ]uint8_t[ ]tx\[\][ ]='
     initnc '[  ]unsigned[ ]char[ ]saa7111_regs\[\][ ]='
@@ -2742,6 +2742,8 @@ set_except () {
     blobname 'rpm_firmware\(_rev11\)\?\.bin' sound/pci/rme9652/hdsp.c
     blobname 'mwl8k[/]fmimage_8366_ap-["][ ][#]api[ ]["]\.fw' drivers/net/wireless/mwl8k.c
     blobname 'rtl_nic[/]rtl8168d-[12]\.fw' drivers/net/r8169.c
+    # New in 2.6.38.4
+    defsnc '[  ]static[ ]DEFINE_TEST_\(OK\|FAIL\)[(][^)]*[)][ ]=' lib/test-kstrtox.c
     ;;
 
   */*freedo*.patch | */*logo*.patch)
@@ -2833,11 +2835,16 @@ set_except () {
     defsnc 'static[ ]u8[ ]\(init\|c\)_table\[\]=' drivers/media/dvb/frontends/s921_core.c
     defsnc 'static[ ]\(u16\|struct[ ]i2c_reg_u16\)[ ]\(bridge\|mt9\(v\(11[12]\|011\)\|m001\)\)_init\[\]\(\[2\]\)\?[ ]=' drivers/media/video/gspca/sn9c20x.c
     defsnc '[  ]static[ ]const[ ]struct[ ]struct_initData[ ]initData\[\][ ]=' drivers/media/video/usbvideo/ibmcam.c
-    defsnc '[  ]u32[ ]reg_boundaries\[\][ ]=' drivers/net/bnx2.c
+    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
     ;;
 
+  */patch*-2.6.38*)
+    # New in 2.6.38.4
+    defsnc '[  ]static[ ]DEFINE_TEST_\(OK\|FAIL\)[(][^)]*[)][ ]=' lib/test-kstrtox.c
+    ;;
+
   */patch*-2.6.37-rc*) # up to -rc8-git3
     defsnc 'static[ ]u32[ ]epll_div\[\]\[6\][ ]=' arch/arm/mach-s5pv210/clock.c
     defsnc 'static[ ]struct[ ]titan_gpio_cfg[ ]titan_gpio_table\[\][ ]=' arch/mips/ar7/gpio.c
@@ -3589,6 +3596,7 @@ set_except () {
     defsnc '\(static[ ]uint32_t\|[}]\)[ ]nv04_graph_ctx_regs[ ]\?\[\][ ]=' drivers/char/drm/nv04_graph.c
     defsnc 'static[ ]int[ ]nv1[07]_graph_ctx_regs[ ]\?\[\][ ]=' drivers/char/drm/nv10_graph.c
     defsnc '[  ][}][ ]common_modes\[17\][ ]=' drivers/gpu/drm/radeon/radeon_connectors.c
+    defsnc 'static[ ]const[ ]u8[ ]types\[256\][ ]=' drivers/gpu/drm/nouveau/nvc0_vram.c
 
     # drm-upgrayedd.patch
     defsnc 'static[ ]const[ ]u16[ ]\(y\|uv\)_static_hcoeffs\[N_HORIZ_\(Y\|UV\)_TAPS[ ][*][ ]N_PHASES\][ ]=' drivers/gpu/drm/i915/intel_overlay.c
@@ -3613,6 +3621,7 @@ set_except () {
     accept '[(]at[ ]which[ ]point[ ]it[ ]should[ ]use[ ]request_firmware'
     ;;
   */linux-2.6-v4l-dvb*.patch)
+    initnc '\([;][/][*]@@[ ]-[0-9]*,[0-9]*[ ][+][0-9]*,[0-9]*[ ]@@[ ]\)\?static[ ]const[ ]unsigned[ ]char[ ]hid_keyboard\[256\][ ]=\([ ][{][*][/][;]\)\?' drivers/hid/hid-input.c
   # post 2.6.37 fixes start here
     defsnc 'static[ ]const[ ]struct[ ]dib0090_pll[ ]dib0090_p1g_pll_table\[\][ ]=' drivers/media/dvb/frontends/dib0090.c
     defsnc '[  ]static[ ]u8[ ]sine\[\][ ]=' drivers/media/dvb/frontends/dib7000p.c