diff options
author | Muhammad Falak R Wani <[email protected]> | 2016-05-23 16:24:31 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2016-05-23 17:04:14 -0700 |
commit | de6cdcb5ce504c9d346858569e4ad2ca3ac2fe45 (patch) | |
tree | 0eb22528b8c516bd89eba2abc85320be80eba575 /scripts/gdb/vmlinux-gdb.py | |
parent | a831979f855f1a19db1b3b194c5fab5e04ad26ff (diff) |
drivers/memstick/core/mspro_block: use kmemdup
Use kmemdup when some other buffer is immediately copied into allocated
region. It replaces call to allocation followed by memcpy, by a single
call to kmemdup.
[[email protected]: remove unneeded cast to void*]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Muhammad Falak R Wani <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions