On Sun, 16 Jan 2022 11:06:49 +0800, xkernel.wang@xxxxxxxxxxx wrote: > From: Xiaoke Wang <xkernel.wang@xxxxxxxxxxx> > > 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