Re: [PATCH] net: bluetooth: Replaced kzalloc and memcpy with kmemdup

2013-03-18 Thread Gustavo Padovan
Hi Alexandru, * Alexandru Gheorghiu [2013-03-17 07:16:50 +0200]: > Replaced calls to kzalloc followed by memcpy with a single call to kmemdup. > > Signed-off-by: Alexandru Gheorghiu > --- > net/bluetooth/a2mp.c |6 ++ > 1 file changed, 2 insertions(+), 4 deletions(-) Patch has been a

Re: [PATCH] net: bluetooth: Replaced kzalloc and memcpy with kmemdup

2013-03-18 Thread Gustavo Padovan
Hi Alexandru, * Alexandru Gheorghiu [2013-03-16 16:07:10 +0200]: > Replaced calls to kzalloc followed by memcpy with a single call to kmemdup. > Patch found using coccinelle. > > Signed-off-by: Alexandru Gheorghiu > --- > net/bluetooth/a2mp.c |6 ++ > 1 file changed, 2 insertions(+),