[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq18ssfo5zf.fsf@oracle.com>
Date: Tue, 30 Jul 2019 12:13:40 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: YueHaibing <yuehaibing@...wei.com>
Cc: <jejb@...ux.ibm.com>, <martin.petersen@...cle.com>,
<jthumshirn@...e.de>, <dan.carpenter@...cle.com>,
<linux-kernel@...r.kernel.org>, <linux-scsi@...r.kernel.org>
Subject: Re: [PATCH -next] scsi: aic94xx: Remove unnecessary null check
YueHaibing,
> kmem_cache_destroy() can handle NULL pointer correctly, so there is
> no need to check NULL pointer before calling kmem_cache_destroy().
Applied to 5.4/scsi-queue. Thanks!
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists