]> git.baikalelectronics.ru Git - kernel.git/commit
lmc: Use memdup_user() as a cleanup
authorVasyl Gomonovych <gomonovych@gmail.com>
Wed, 22 Nov 2017 15:29:57 +0000 (16:29 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Nov 2017 15:57:54 +0000 (10:57 -0500)
commit3eb70d6429fa7f58b45a061d852898bd296eed65
treed079a1d177f77e4f441764f2f1c78fd4ef58cfb9
parent6caddbc24ae8b6604bec7aed63d015f4ef2a88de
lmc: Use memdup_user() as a cleanup

Fix coccicheck warning which recommends to use memdup_user():
drivers/net/wan/lmc/lmc_main.c:497:27-34: WARNING opportunity for memdup_user
Generated by: scripts/coccinelle/memdup_user/memdup_user.cocci

Signed-off-by: Vasyl Gomonovych <gomonovych@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/lmc/lmc_main.c