diff options
author | Jiri Slaby <jslaby@suse.cz> | 2010-10-01 18:13:40 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-21 07:54:30 -0200 |
commit | 2e75bcea00273146615dbc6ed3bbabce8d0bc1ca (patch) | |
tree | fd7b8fddccd6dd0ba61f0448ff23721c5748208c /drivers/media/video/ov9640.h | |
parent | 92d0d66c1515c8ee3b700ab3d610587c71fe497f (diff) |
[media] drivers/media/IR/ene_ir.c: fix NULL dereference
When 'dev' allocation fails in ene_probe we jump to error label where we
dereference the 'dev'. Fix it by jumping few lines below.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Maxim Levitsky <maximlevitsky@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/ov9640.h')
0 files changed, 0 insertions, 0 deletions