diff options
author | Wang YanQing <udknight@gmail.com> | 2013-03-30 04:53:00 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-04-02 13:33:55 +0300 |
commit | 090da752cdd6f0786eee68c8dea8db7c8abd3798 (patch) | |
tree | 5b81a185bc34326ef9e120ca96fe271c3e589bba /drivers/infiniband | |
parent | 477fc03f5baaf5906ce04beba7dbcd0e5d1e9b30 (diff) |
video:uvesafb: Fix dereference NULL pointer code path
platform_device_alloc could failed and return NULL,
we should check this before call platform_device_put.
Signed-off-by: Wang YanQing <udknight@gmail.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/infiniband')
0 files changed, 0 insertions, 0 deletions