linux-hardened/drivers/memstick
Muhammad Falak R Wani de6cdcb5ce 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.

[akpm@linux-foundation.org: remove unneeded cast to void*]
Link: http://lkml.kernel.org/r/1463665743-16269-1-git-send-email-falakreyaz@gmail.com
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-05-23 17:04:14 -07:00
..
core drivers/memstick/core/mspro_block: use kmemdup 2016-05-23 17:04:14 -07:00
host rtsx_usb_ms: use schedule_timeout_idle() in polling loop 2016-05-23 17:04:14 -07:00
Kconfig
Makefile