]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/net/wireless/mwifiex/scan.c: convert GFP_KERNEL to GFP_ATOMIC
authorJulia Lawall <julia.lawall@lip6.fr>
Mon, 9 Jan 2012 09:40:50 +0000 (10:40 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 24 Jan 2012 19:08:39 +0000 (14:08 -0500)
commite3ec13d833dfc2ac41ccb0279d0e192bc1f49a30
treeb6eb5fd1044daad2809e9569997412d817c69ba8
parent93153a0256f0b0de7bacac84d7b9ae42cf0dfb0e
drivers/net/wireless/mwifiex/scan.c: convert GFP_KERNEL to GFP_ATOMIC

The function is called with locks held and thus should not use GFP_KERNEL.

The semantic patch that makes this report is available
in scripts/coccinelle/locks/call_kern.cocci.

More information about semantic patching is available at
http://coccinelle.lip6.fr/

Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
Acked-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/scan.c