[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164308671270.32373.13488934927194632781.b4-ty@oracle.com>
Date: Tue, 25 Jan 2022 00:40:45 -0500
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: xkernel.wang@...mail.com, bvanassche@....org, jejb@...ux.ibm.com
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
linux-kernel@...r.kernel.org, avri.altman@....com,
linux-scsi@...r.kernel.org, alim.akhtar@...sung.com
Subject: Re: [PATCH v2] scsi: ufs: ufshcd-pltfrm: check the return value of devm_kstrdup()
On Sun, 16 Jan 2022 11:06:49 +0800, xkernel.wang@...mail.com wrote:
> From: Xiaoke Wang <xkernel.wang@...mail.com>
>
> 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-fixes, thanks!
[1/1] scsi: ufs: ufshcd-pltfrm: check the return value of devm_kstrdup()
https://git.kernel.org/mkp/scsi/c/a65b32748f45
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists