ANDROID: goldfish_pipe: fix call_kern.cocci warnings
authorJulia Lawall <julia.lawall@lip6.fr>
Fri, 18 Nov 2016 06:26:19 +0000 (07:26 +0100)
committerAmit Pundir <amit.pundir@linaro.org>
Thu, 1 Dec 2016 09:48:44 +0000 (15:18 +0530)
commitc3bb7a496b9a31d1db1414abd799ed64d14fc227
tree425c3237e7293e4c5fe3bfbddbb52e92f451ecac
parentae41a88ba7603279e01ea0cfde0867a31cf1c182
ANDROID: goldfish_pipe: fix call_kern.cocci warnings

Function get_free_pipe_id_locked called on line 671 inside lock on line
669 but uses GFP_KERNEL.  Replace with GFP_ATOMIC.

Generated by: scripts/coccinelle/locks/call_kern.cocci

CC: Yurii Zubrytskyi <zyy@google.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Guenter Roeck <groeck@chromium.org>
drivers/platform/goldfish/goldfish_pipe_v2.c