fbdev: fbmem: implement error handling in fbmem_init()
commit524edf3877775c46e8b3ba56f9dd75d07914392c
authorAlexey Khoroshilov <khoroshilov@ispras.ru>
Tue, 3 May 2016 02:22:27 +0000 (3 05:22 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 10 May 2016 08:58:29 +0000 (10 11:58 +0300)
tree8c4e34211850a802e8243842ab15971d455ce564
parent18b6562c243f3a4be91a7a240090ebefccf39761
fbdev: fbmem: implement error handling in fbmem_init()

fbmem_init() ignores all errors, while fbmem_exit() does not
check if deallocating resources are valid.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/core/fbmem.c