summaryrefslogtreecommitdiff
path: root/drivers/target/loopback/tcm_loop.c
diff options
context:
space:
mode:
authorZou Wei <zou_wei@huawei.com>2020-04-26 05:42:44 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2020-05-12 05:13:18 +0300
commit8d925b1f00e6894e4c601cb1d395dab3bd66c374 (patch)
treeb1469cb10aba8e0f781e07d08801ee0dba9b4883 /drivers/target/loopback/tcm_loop.c
parent29022b61307f1aab5564ef65dc268ab7f55b699c (diff)
downloadlinux-8d925b1f00e6894e4c601cb1d395dab3bd66c374.tar.xz
scsi: aacraid: Use memdup_user() as a cleanup
Fix coccicheck warning which recommends to use memdup_user(). This patch fixes the following coccicheck warning: drivers/scsi/aacraid/commctrl.c:516:15-22: WARNING opportunity for memdup_user Link: https://lore.kernel.org/r/1587868964-75969-1-git-send-email-zou_wei@huawei.com Fixes: 4645df1035b3 ("[PATCH] aacraid: swapped kmalloc args.") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Zou Wei <zou_wei@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/target/loopback/tcm_loop.c')
0 files changed, 0 insertions, 0 deletions