commit | 2e75bcea00273146615dbc6ed3bbabce8d0bc1ca | [log] [tgz] |
---|---|---|
author | Jiri Slaby <jslaby@suse.cz> | Fri Oct 01 18:13:40 2010 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Thu Oct 21 07:54:30 2010 -0200 |
tree | fd7b8fddccd6dd0ba61f0448ff23721c5748208c | |
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>