net: moxa: use GFP_KERNEL
authorJulia Lawall <Julia.Lawall@inria.fr>
Thu, 10 Feb 2022 20:42:15 +0000 (21:42 +0100)
committerJakub Kicinski <kuba@kernel.org>
Fri, 11 Feb 2022 22:39:08 +0000 (14:39 -0800)
commitc9ac080b25d98dbbea6caa165bfc0b88a88458cc
treeb8cb7d30624e09496a2f8c71b9213d60a249d044
parent5f7dc7d48c9402dacc009e163ae7e342556ffbc4
net: moxa: use GFP_KERNEL

Platform_driver probe functions aren't called with locks
held and thus don't need GFP_ATOMIC. Use GFP_KERNEL instead.

Problem found with Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Link: https://lore.kernel.org/r/20220210204223.104181-1-Julia.Lawall@inria.fr
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/moxa/moxart_ether.c