# Re: \[PATCH 0/5\] video-SMSC UFX: Adjustments for five function implementations

- From: Bartlomiej Zolnierkiewicz \<hidden\>
- Date: 2017-12-29 18:26:51 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2017/12/5168807
- Thread: https://ratatoskr.run/linux-fbdev/2017/11/5140582/t.md

```text
On Saturday, November 25, 2017 09:42:57 PM SF Markus Elfring wrote:
> From: Markus Elfring <redacted>
> Date: Sat, 25 Nov 2017 21:38:42 +0100
> 
> A few update suggestions were taken into account
> from static source code analysis.
> 
> Markus Elfring (5):
>   Delete an error message for a failed memory allocation in two functions

This patch removes the information about the device for which the allocation
fails.

>   Less checks in ufx_usb_probe() after error detection

This patch depends on the earlier patch (which is not being merged) so please
re-base it if you want it to be applied.

>   Return an error code only as a constant in ufx_realloc_framebuffer()

ditto

>   Improve a size determination in two functions

Patch queued for 4.16, thanks.

>   Adjust three checks for null pointers

This patch contains unrelated change ({} braces addition) which should be
dropped.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics

```
