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

From: Bartlomiej Zolnierkiewicz
Date: Fri Dec 29 2017 - 13:26:54 EST


On Saturday, November 25, 2017 09:42:57 PM SF Markus Elfring wrote:
> From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
> 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