linux/drivers/media/video/em28xx
Julia Lawall 8281db3b52 V4L/DVB (7285): em28xx: Correct use of ! and &
In commit e6bafba5b4, a bug was fixed that
involved converting !x & y to !(x & y).  The code below shows the same
pattern, and thus should perhaps be fixed in the same way.

This is not tested and clearly changes the semantics, so it is only
something to consider.

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

// <smpl>
@@ expression E1,E2; @@
(
  !E1 & !E2
|
- !E1 & E2
+ !(E1 & E2)
)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-03-20 12:39:00 -03:00
..
em28xx-audio.c V4L/DVB (7164): em28xx-alsa: Add a missing mutex 2008-02-18 11:15:16 -03:00
em28xx-cards.c V4L/DVB (7158): Fix em28xx audio initialization 2008-02-18 11:15:14 -03:00
em28xx-core.c V4L/DVB (7285): em28xx: Correct use of ! and & 2008-03-20 12:39:00 -03:00
em28xx-i2c.c V4L/DVB (6587): Cleanup at tv norm selection 2008-01-25 19:02:08 -02:00
em28xx-input.c V4L/DVB (7021): Move all board specific configuration to em28xx-cards.c 2008-01-25 19:04:55 -02:00
em28xx-video.c V4L/DVB (7179): Allow more than one em28xx board 2008-02-18 11:15:17 -03:00
em28xx.h V4L/DVB (7179): Allow more than one em28xx board 2008-02-18 11:15:17 -03:00
Kconfig drivers/media/video/em28xx/: Fix undefined symbol error with CONFIG_SND=N 2008-02-09 23:27:01 -08:00
Makefile V4L/DVB (6951): Integrates em28xx-audio.c into em28xx kernel module 2008-01-25 19:04:32 -02:00