Re: [PATCH 0/6] PNP: Adjustments for four function implementations

From: Andy Shevchenko
Date: Sat May 27 2017 - 15:08:53 EST


On Mon, May 15, 2017 at 10:10 PM, SF Markus Elfring
<elfring@xxxxxxxxxxxxxxxxxxxxx> wrote:
> From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
> Date: Mon, 15 May 2017 21:03:21 +0200
>
> A few update suggestions were taken into account
> from static source code analysis.

You need to fold these 6 in to two:
PNP: Improve a size determination
PNP: Delete an error message for a failed memory allocation

And effectively after I'm not sure the first one even needed for now.

>
> Markus Elfring (6):
> Delete an error message for a failed memory allocation in pnp_alloc()
> Improve a size determination in pnp_alloc_dev()
> Improve a size determination in pnp_clone_dependent_set()
> Delete an error message for a failed memory allocation in pnp_clone_dependent_set()
> Improve a size determination in quirk_awe32_add_ports()
> Delete an error message for a failed memory allocation in quirk_awe32_add_ports()
>
> drivers/pnp/core.c | 6 ++----
> drivers/pnp/quirks.c | 15 ++++-----------
> 2 files changed, 6 insertions(+), 15 deletions(-)
>
> --
> 2.13.0
>



--
With Best Regards,
Andy Shevchenko