Staging: wilc1000: wilc_msgqueue: Use kmemdup instead of kmalloc and memcpy
authorShraddha Barke <shraddha.6596@gmail.com>
Sun, 11 Oct 2015 16:31:37 +0000 (22:01 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Oct 2015 04:01:28 +0000 (21:01 -0700)
commitc22cbec069b532c4a9a33236305ee4d833ec67e6
treede6bd87e16bf89bf96d92d71b9e63b6f9913d017
parent39823a50ff371cbaa0baa7ccb7a479e61375b4a0
Staging: wilc1000: wilc_msgqueue: Use kmemdup instead of kmalloc and memcpy

Replace kmalloc and memcpy with kmemdup.
Problem found using coccicheck

Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_msgqueue.c
This page took 0.027176 seconds and 5 git commands to generate.