We're holding a spinlock here so we can't call kmalloc() with
GFP_KERNEL.
Signed-off-by: Dan Carpenter
diff --git a/drivers/hid/hid-sensor-hub.c b/drivers/hid/hid-sensor-hub.c
index 4ac759c..0c93b10 100644
--- a/drivers/hid/hid-sensor-hub.c
+++ b/drivers/hid/hid-sensor-hub.c
@@ -173,7 +173,7 @@
On Fri, 14 Sep 2012, Dan Carpenter wrote:
> We're holding a spinlock here so we can't call kmalloc() with
> GFP_KERNEL.
>
> Signed-off-by: Dan Carpenter
Signed-off-by: Jiri Kosina
Jonathan, could you please take this one as well, as it depends on the
series in your tree?
Thanks.
>
> diff
Tested this and works.
-Original Message-
From: Jiri Kosina [mailto:jkos...@suse.cz]
Sent: Monday, September 17, 2012 3:59 AM
To: Dan Carpenter
Cc: Pandruvada, Srinivas; linux-input@vger.kernel.org;
kernel-janit...@vger.kernel.org; Jonathan Cameron
Subject: Re: [patch 1/2] HID: sensors