projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71c7a97
)
[media] [trivial] omap24xxcam-dma: Fix logical test
author
Joe Perches
<joe@perches.com>
Sun, 27 Nov 2011 18:42:15 +0000
(15:42 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Fri, 9 Dec 2011 22:28:42 +0000
(20:28 -0200)
Likely misuse of & vs &&.
Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/omap24xxcam-dma.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/omap24xxcam-dma.c
b/drivers/media/video/omap24xxcam-dma.c
index
1d54b86
..
3ea38a8
100644
(file)
--- a/
drivers/media/video/omap24xxcam-dma.c
+++ b/
drivers/media/video/omap24xxcam-dma.c
@@
-506,7
+506,7
@@
int omap24xxcam_sgdma_queue(struct omap24xxcam_sgdma *sgdma,
unsigned long flags;
struct sgdma_state *sg_state;
- if ((sglen < 0) || ((sglen > 0) & !sglist))
+ if ((sglen < 0) || ((sglen > 0) &
&
!sglist))
return -EINVAL;
spin_lock_irqsave(&sgdma->lock, flags);