aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/message/fusion/mptbase.c
diff options
context:
space:
mode:
authorJoe Lawrence <[email protected]>2014-06-25 21:06:12 +0000
committerChristoph Hellwig <[email protected]>2014-07-25 21:16:57 +0000
commit3e67c459d0ac945ac09639d85de299e65317aefe (patch)
tree2dcf88d2311361e90e102d1c74b757c0d23f0fb5 /drivers/message/fusion/mptbase.c
parentmptfusion: remove redundant kfree checks (diff)
downloadkernel-3e67c459d0ac945ac09639d85de299e65317aefe.tar.gz
kernel-3e67c459d0ac945ac09639d85de299e65317aefe.zip
mptfusion: use memdup_user
Let memdup_user handle the kmalloc, copy_from_user and error checking kfree code. Spotted by the following smatch (false positive) warning: drivers/message/fusion/mptctl.c:1369 mptctl_getiocinfo() warn: possible info leak 'karg' Signed-off-by: Joe Lawrence <[email protected]> Acked-by: Sreekanth Reddy <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'drivers/message/fusion/mptbase.c')
0 files changed, 0 insertions, 0 deletions