[PATCH] ps3_gelic: use kmemdup

David Miller davem at davemloft.net
Sat May 21 09:50:51 AEST 2016


From: Muhammad Falak R Wani <falakreyaz at gmail.com>
Date: Thu, 19 May 2016 19:24:41 +0530

> 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.
> 
> Signed-off-by: Muhammad Falak R Wani <falakreyaz at gmail.com>

Applied.


More information about the Linuxppc-dev mailing list