[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <yq1czkomm52.fsf@ca-mkp.ca.oracle.com>
Date: Tue, 18 Jan 2022 22:37:24 -0500
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: xkernel.wang@...mail.com
Cc: bvanassche@....org, jejb@...ux.ibm.com, martin.petersen@...cle.com,
alim.akhtar@...sung.com, avri.altman@....com,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] scsi: ufs: ufshcd-pltfrm: check the return value of
devm_kstrdup()
> devm_kstrdup() returns pointer to allocated string on success,
> NULL on failure. So it is better to check the return value of it.
Applied to 5.17/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists