[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJRQjocPmP0bEX5s-gkPh8w_=ndksxMF-Gx-rov1sJDO3r+TfA@mail.gmail.com>
Date: Mon, 6 Apr 2020 09:14:29 +0800
From: Qiujun Huang <hqjagain@...il.com>
To: Markus Elfring <Markus.Elfring@....de>
Cc: linux-scsi@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
Alex Dewar <alex.dewar@....co.uk>,
Hannes Reinecke <hare@...e.com>,
"James E. J. Bottomley" <jejb@...ux.ibm.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>
Subject: Re: [PATCH] scsi: aic7xxx: Remove null pointer checks before kfree()
Sorry about nnnnoise, please just ignore it.
On Mon, Apr 6, 2020 at 4:02 AM Markus Elfring <Markus.Elfring@....de> wrote:
>
> > NULL check before kfree is unnecessary so remove it.
>
> I hope that you would like to take another update suggestion into account
> (besides a typo correction for your commit message).
> https://lore.kernel.org/patchwork/patch/1220189/
> https://lore.kernel.org/linux-scsi/20200403164712.49579-1-alex.dewar@gmx.co.uk/
>
> Do you find a previous update suggestion like “SCSI-aic7...: Delete unnecessary
> checks before the function call "kfree"” also interesting?
> https://lore.kernel.org/linux-scsi/54D3E057.9030600@users.sourceforge.net/
> https://lore.kernel.org/patchwork/patch/540593/
> https://lkml.org/lkml/2015/2/5/650
>
> Regards,
> Markus
Powered by blists - more mailing lists