aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3
diff options
context:
space:
mode:
authorXiaoke Wang <[email protected]>2022-01-16 11:06:49 +0800
committerMartin K. Petersen <[email protected]>2022-01-24 23:30:25 -0500
commita65b32748f4566f986ba2495a8236c141fa42a26 (patch)
tree29bf66091099f19baaf20077d0cba35901abf738 /drivers/usb/cdns3
parenta861790afaa8b6369eee8a88c5d5d73f5799c0c6 (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