diff options
author | Joe Lawrence <[email protected]> | 2014-06-25 17:06:12 -0400 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2014-07-25 17:16:57 -0400 |
commit | 3e67c459d0ac945ac09639d85de299e65317aefe (patch) | |
tree | 2dcf88d2311361e90e102d1c74b757c0d23f0fb5 /fs/jbd2/commit.c | |
parent | 5074b1b60edd47e0ce4485e57990f7ca75c3e67e (diff) |
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 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions