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

From: Gustavo Padovan
Date: Mon Mar 18 2013 - 11:17:51 EST


Hi Alexandru,

* Alexandru Gheorghiu <gheorghiuandru@xxxxxxxxx> [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 <gheorghiuandru@xxxxxxxxx>
> ---
> net/bluetooth/a2mp.c | 6 ++----
> 1 file changed, 2 insertions(+), 4 deletions(-)

Patch has been applied to bluetooth-next. Thanks.

Gustavo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/