linux/drivers/memstick/core
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
..
Kconfig memstick: add support for legacy memorysticks 2013-09-11 15:59:35 -07:00
Makefile memstick: add support for legacy memorysticks 2013-09-11 15:59:35 -07:00
memstick.c tree-wide: use reinit_completion instead of INIT_COMPLETION 2013-11-15 09:32:21 +09:00
ms_block.c memstick: trivial fix of spelling mistake on management 2016-04-28 10:58:33 +02:00
ms_block.h memstick: trivial fix of spelling mistake on management 2016-04-28 10:58:33 +02:00
mspro_block.c drivers/memstick/core/mspro_block: use kmemdup 2016-05-23 17:04:14 -07:00