[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAOtvUMeHKGaihasV4e4xmQ6MZgs3KtwkY7jqMkQRYwMP5shwjQ@mail.gmail.com>
Date: Thu, 27 Jul 2017 19:09:44 +0300
From: Gilad Ben-Yossef <gilad@...yossef.com>
To: sunil.m@...hveda.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-crypto@...r.kernel.org,
driverdev-devel@...uxdriverproject.org, devel@...verdev.osuosl.org,
Linux kernel mailing list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] staging: ccree: Fix unnecessary NULL check before
kfree'ing it
Hi,
On Thu, Jul 20, 2017 at 4:37 PM, <sunil.m@...hveda.org> wrote:
> From: Suniel Mahesh <sunil.m@...hveda.org>
>
> kfree(NULL) is safe and their is no need for a NULL check. Pointed out
> by checkpatch.
>
> Signed-off-by: Suniel Mahesh <sunil.m@...hveda.org>
> ---
> Note:
> - Patch was compile tested and built(ARCH=arm) on next-20170719.
> No build issues reported.
Patch applies against staging-next + latest changes and it builds and runs.
Acked-by: Gilad Ben-Yossef <gilad@...yossef.com>
Gilad
Powered by blists - more mailing lists