linux/drivers/media/dvb
Julia Lawall 21ead03bdd V4L/DVB (13949): Move a dereference below a NULL test
If the NULL test is necessary, then the dereference should be moved below
the NULL test.

The semantic patch that makes this change is as follows:
(http://www.emn.fr/x-info/coccinelle/)

// <smpl>
@@
type T;
expression E;
identifier i,fld;
statement S;
@@

- T i = E->fld;
+ T i;
  ... when != E
      when != i
  if (E == NULL) S
+ i = E->fld;
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-02-26 15:10:33 -03:00
..
b2c2 V4L/DVB (12294): b2c2: Use dvb-pll for Cablestar2 2009-09-12 12:17:52 -03:00
bt8xx V4L/DVB (13523): dvb-bt8xx: fix compile warning 2009-12-05 18:42:15 -02:00
dm1105 V4L/DVB (13680): ir: use unsigned long instead of enum 2010-02-26 15:10:24 -03:00
dvb-core V4L/DVB (13879): dvb_frontend: report what ioctl were called on debug mode 2010-02-26 15:10:27 -03:00
dvb-usb V4L/DVB (13949): Move a dereference below a NULL test 2010-02-26 15:10:33 -03:00
firewire firewire: fix use of multiple AV/C devices, allow multiple FCP listeners 2009-12-29 19:58:16 +01:00
frontends V4L/DVB (13843): dib8000: Properly report Delivery System as SYS_ISDBT 2010-02-26 15:10:26 -03:00
mantis V4L/DVB (13634): ir-core: allow passing IR device parameters to ir-core 2010-02-26 15:10:23 -03:00
pluto2 V4L/DVB (12483): Use DIV_ROUND_CLOSEST 2009-09-12 12:19:08 -03:00
pt1 V4L/DVB (13522): valj5jf8007s/t: fix compile warnings 2009-12-05 18:42:15 -02:00
siano V4L/DVB (13848): smsdvb: Add the proper status for IsRfLocked 2010-02-26 15:10:26 -03:00
ttpci V4L/DVB (13946): proc_fops: convert av7110 2010-02-26 15:10:33 -03:00
ttusb-budget V4L/DVB (10149): ttusb-budget: make it depend on PCI 2009-01-02 17:12:21 -02:00
ttusb-dec V4L/DVB (13414): ttusb-dec: do not overwrite the first part of phys string 2009-12-05 18:41:45 -02:00
Kconfig V4L/DVB (13808): [Mantis/Hopper] Build update for Mantis/Hopper based cards 2010-01-17 11:55:45 -02:00
Makefile V4L/DVB (13808): [Mantis/Hopper] Build update for Mantis/Hopper based cards 2010-01-17 11:55:45 -02:00