[PATCH v3] powerpc/powernv: add NULL check after kzalloc in opal_add_one_export

Qiujun Huang hqjagain at gmail.com
Mon Apr 6 11:13:28 AEST 2020


On Mon, Apr 6, 2020 at 3:06 AM Markus Elfring <Markus.Elfring at web.de> wrote:
>
> > Here needs a NULL check.
quite obvious?
>
> I find this change description questionable
> (despite of a reasonable patch subject).
>
>
> > Issue found by coccinelle.
>
> Would an information like “Generated by: scripts/coccinelle/null/kmerr.cocci”
> be nicer?
Yeah, but I think It was enough.
>
>
> > ---
>
> Will a patch change log be helpful here?
I realized I should write some change log, and the change log was meaningless.
So I left it blank.
>
> Regards,
> Markus


More information about the Linuxppc-dev mailing list