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

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

2013-03-18 Thread Alexandru Gheorghiu
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(-) diff --git a/net/bluetooth/a2mp.c b/net/bluetooth/a2mp.c index eb0f4b1..17f33a6 100644 --- a/net

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(+),

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

2013-03-17 Thread Alexandru Gheorghiu
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(+), 4 deletions(-) diff --git a/net/bluetooth/a2mp.c b/net/bluetooth/a2mp.c index eb0