# 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 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2018/07/9142592
- Thread: https://ratatoskr.run/linux-fbdev/2018/06/13466855/t.md

```text
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

```
