diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2014-05-30 12:26:34 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-06-26 13:40:15 +0200 |
commit | 06f7d7931752ee1bd0903a38b1086c7ea5e10cdf (patch) | |
tree | f8045e472d9bd56d5c4f0bb11de25b194b4dd00a /drivers/video/fbdev/aty | |
parent | video: vt8500lcdfb: Remove kfree call since devm_kzalloc() is used (diff) | |
download | linux-06f7d7931752ee1bd0903a38b1086c7ea5e10cdf.tar.xz linux-06f7d7931752ee1bd0903a38b1086c7ea5e10cdf.zip |
video: omapdss: Fix potential null pointer dereference
kmalloc can return null. Add a check to avoid potential null
pointer dereference error when the pointer is accessed later.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/fbdev/aty')
0 files changed, 0 insertions, 0 deletions