OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f03900d
)
V4L/DVB: media/IR/imon: testing the wrong variable
author
Dan Carpenter
<error27@gmail.com>
Tue, 4 May 2010 11:38:26 +0000
(08:38 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Wed, 19 May 2010 15:59:03 +0000
(12:59 -0300)
There is a typo here. We meant to test "ir" instead of "props". The
"props" variable was tested earlier.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/IR/imon.c
patch
|
blob
|
history
diff --git
a/drivers/media/IR/imon.c
b/drivers/media/IR/imon.c
index
9ca5e86
..
d5d8d93
100644
(file)
--- a/
drivers/media/IR/imon.c
+++ b/
drivers/media/IR/imon.c
@@
-1671,7
+1671,7
@@
static struct input_dev *imon_init_idev(struct imon_context *ictx)
}
ir = kzalloc(sizeof(struct ir_input_dev), GFP_KERNEL);
- if (!
props
) {
+ if (!
ir
) {
dev_err(ictx->dev, "remote ir input dev allocation failed\n");
goto ir_dev_alloc_failed;
}