summaryrefslogtreecommitdiffstats
path: root/drivers/video/fb_notify.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2012-12-13 11:13:51 +0100
committerTomi Valkeinen <tomi.valkeinen@ti.com>2012-12-13 11:13:51 +0100
commitfa0c5e71295fa4d62b900818d900c16980985e72 (patch)
tree2cc89b6c3d598591156a150df9e4a227db1cad42 /drivers/video/fb_notify.c
parentOMAPFB: use devm_kzalloc to allocate omapfb2_device (diff)
downloadlinux-fa0c5e71295fa4d62b900818d900c16980985e72.tar.xz
linux-fa0c5e71295fa4d62b900818d900c16980985e72.zip
OMAPFB: fix error handling in omapfb_find_best_mode()
omapfb_find_best_mode() doesn't check for the return value of kmalloc. Fix this. This also removes the smatch warning: drivers/video/omap2/omapfb/omapfb-main.c:2256 omapfb_find_best_mode() error: potential null dereference 'specs'. (kzalloc returns null) Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/fb_notify.c')
0 files changed, 0 insertions, 0 deletions