]> git.baikalelectronics.ru Git - kernel.git/commit
remoteproc: Cocci spatch "memdup.spatch"
authorThomas Meyer <thomas@m3y3r.de>
Mon, 1 Jul 2013 14:23:58 +0000 (17:23 +0300)
committerOhad Ben-Cohen <ohad@wizery.com>
Mon, 1 Jul 2013 14:23:58 +0000 (17:23 +0300)
commit995c0722cf225e24bc6960843401f5e69395bf2d
treee625483fb1f01e9b1759d9e898e115c95c53804c
parentc6231f7f808e863bfe14ac123a2aa08e68fceb72
remoteproc: Cocci spatch "memdup.spatch"

Use kmemdup instead of kmalloc + memcpy.

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
drivers/remoteproc/remoteproc_core.c