Skip to content
Commit ec7d6dd8 authored by YueHaibing's avatar YueHaibing Committed by David S. Miller
Browse files

ethernet: ucc_geth: Use kmemdup() rather than kmalloc+memcpy



Issue identified with Coccinelle.

Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5d6c3d91
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment