diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2021-04-02 17:25:17 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-05-10 13:24:03 -0400 |
commit | 6235bef6f990d31d8ace9c5af337c22b888b81e3 (patch) | |
tree | 2bc53549a9dab87b1e15cde2a02a7c53d74ef9b0 /mm/shmem.c | |
parent | 1ee2753422349723d27009f2f973d03289d430ab (diff) |
scsi: target: iscsi: Switch to kmemdup_nul()
Use kmemdup_nul() helper instead of open-coding to simplify the code.
Link: https://lore.kernel.org/r/20210402092517.2445595-1-yangyingliang@huawei.com
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'mm/shmem.c')
0 files changed, 0 insertions, 0 deletions