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

Bartlomiej Zolnierkiewicz
2017-12-29T18:26:42Z

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