Messages in this thread | | | Subject | Re: [PATCH v2] scsi: ufs: ufshcd-pltfrm: check the return value of devm_kstrdup() | From | "Martin K. Petersen" <> | Date | Tue, 18 Jan 2022 22:37:24 -0500 |
| |
> 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
| |