[patch v2 2/2] pinctrl: samsung: remove "out of memory" messages

Linus Walleij linus.walleij at linaro.org
Thu Jul 16 01:22:33 PDT 2015


On Mon, Jun 22, 2015 at 5:13 PM, Dan Carpenter <dan.carpenter at oracle.com> wrote:

> Checkpatch.pl complains about these:
>
> WARNING: Possible unnecessary 'out of memory' message
>
> The messages use a little extra RAM and they add a few extra lines of
> code.  We're probably never going to hit these out of memory situations
> but if we did then kmalloc() has pretty good error messages built-in.
>
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>

Patch applied with Krzysztof's review tag.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list