summaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-img.c
diff options
context:
space:
mode:
authorXiaoke Wang <xkernel.wang@foxmail.com>2022-01-16 04:06:49 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2022-01-25 05:30:25 +0100
commita65b32748f4566f986ba2495a8236c141fa42a26 (patch)
tree29bf66091099f19baaf20077d0cba35901abf738 /drivers/pwm/pwm-img.c
parentscsi: target: iscsi: Make sure the np under each tpg is unique (diff)
downloadlinux-a65b32748f4566f986ba2495a8236c141fa42a26.tar.xz
linux-a65b32748f4566f986ba2495a8236c141fa42a26.zip
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/tencent_4257E15D4A94FF9020DDCC4BB9B21C041408@qq.com Reviewed-by: Bean Huo <beanhuo@micron.com> Signed-off-by: Xiaoke Wang <xkernel.wang@foxmail.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/pwm/pwm-img.c')
0 files changed, 0 insertions, 0 deletions