[media] solo6x10: fix potential null dereference
authorHans Verkuil <hverkuil@xs4all.nl>
Fri, 25 Jul 2014 11:19:54 +0000 (08:19 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 27 Jul 2014 21:24:16 +0000 (18:24 -0300)
drivers/media/pci/solo6x10/solo6x10-disp.c:221 solo_set_motion_block() error: potential null dereference
'buf'.  (kzalloc returns null)

Also propagate this error up the chain.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>

No differences found