projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89f637f
)
greybus: svc: fix hot-plug-state allocation flag
author
Johan Hovold
<johan@hovoldconsulting.com>
Tue, 1 Sep 2015 10:25:26 +0000
(12:25 +0200)
committer
Johan Hovold
<johan@hovoldconsulting.com>
Wed, 2 Sep 2015 08:47:42 +0000
(10:47 +0200)
Use GFP_KERNEL for hot-plug state allocation in
gb_svc_intf_hotplug_recv, which is called from a request handler (i.e.
a work queue).
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/staging/greybus/svc.c
patch
|
blob
|
history
diff --git
a/drivers/staging/greybus/svc.c
b/drivers/staging/greybus/svc.c
index 029b5a7d15604df08f10a71e6dbb937fe7a5a93f..db009223d7595f9a26a3ee3427e29e068b713074 100644
(file)
--- a/
drivers/staging/greybus/svc.c
+++ b/
drivers/staging/greybus/svc.c
@@
-382,7
+382,7
@@
static int gb_svc_intf_hotplug_recv(struct gb_operation *op)
return -EINVAL;
}
- svc_hotplug = kmalloc(sizeof(*svc_hotplug), GFP_
ATOMIC
);
+ svc_hotplug = kmalloc(sizeof(*svc_hotplug), GFP_
KERNEL
);
if (!svc_hotplug)
return -ENOMEM;