Messages in this thread | | | From | "Martin K. Petersen" <> | Subject | Re: [PATCH v2] scsi: ufs: ufshcd-pltfrm: check the return value of devm_kstrdup() | Date | Tue, 25 Jan 2022 00:40:45 -0500 |
| |
On Sun, 16 Jan 2022 11:06:49 +0800, xkernel.wang@foxmail.com wrote:
> From: Xiaoke Wang <xkernel.wang@foxmail.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
| |