staging: android: ram_console use kmemdup instead of kmalloc
authorGreg Dietsche <Gregory.Dietsche@cuw.edu>
Sun, 15 Jan 2012 20:44:34 +0000 (14:44 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2012 00:47:50 +0000 (16:47 -0800)
commit28aa41fb8d555b120edefd7fdf879b156a1c9f3a
treed653d9980687fc53342db058e7713dcbc9616502
parente96045a7c837200e65c9fa8f8a94020bc2107931
staging: android: ram_console use kmemdup instead of kmalloc

Replace kmalloc + memcpy will kmemdup in ram_console_late_init

Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ram_console.c