diff options
| author | Zou Wei <[email protected]> | 2020-04-26 10:42:44 +0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2020-05-11 22:13:18 -0400 |
| commit | 8d925b1f00e6894e4c601cb1d395dab3bd66c374 (patch) | |
| tree | b1469cb10aba8e0f781e07d08801ee0dba9b4883 /tools/perf/scripts/python | |
| parent | 29022b61307f1aab5564ef65dc268ab7f55b699c (diff) | |
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/[email protected]
Fixes: 4645df1035b3 ("[PATCH] aacraid: swapped kmalloc args.")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Zou Wei <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions