Re: [PATCH 3/4] video: fbdev: pxafb: handle errors from pxafb_init_fbinfo() correctly

From
Bartlomiej Zolnierkiewicz <hidden>
Date
2018-07-24 15:02:18
Also in
dri-devel
Reply to
Daniel Mack, 2018-06-24
On Sunday, June 24, 2018 05:38:16 PM Daniel Mack wrote:
pxafb_init_fbinfo() can not only report errors caused by failed
allocations but also when the clock can't be found.

To fix this, return an error pointer instead of NULL in case of errors,
and up-chain the result.

Signed-off-by: Daniel Mack <daniel@zonque.org>
Patch queued for 4.19, thanks.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
Thread (3 messages) 3 messages, 3 authors, last reply 2018-07-24
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help