Home
last modified time | relevance | path

Searched hist:"6235 bef6" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/target/iscsi/
H A Discsi_target_parameters.c6235bef6 Fri Apr 02 04:25:17 CDT 2021 Yang Yingliang <yangyingliang@huawei.com> 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>
H A Discsi_target_nego.c6235bef6 Fri Apr 02 04:25:17 CDT 2021 Yang Yingliang <yangyingliang@huawei.com> 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>