diff options
author | Xiaoke Wang <[email protected]> | 2022-01-16 11:06:49 +0800 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2022-01-24 23:30:25 -0500 |
commit | a65b32748f4566f986ba2495a8236c141fa42a26 (patch) | |
tree | 29bf66091099f19baaf20077d0cba35901abf738 /drivers/usb/cdns3 | |
parent | a861790afaa8b6369eee8a88c5d5d73f5799c0c6 (diff) |
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.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Bean Huo <[email protected]>
Signed-off-by: Xiaoke Wang <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3')
0 files changed, 0 insertions, 0 deletions