diff --git a/drivers/staging/greybus/svc.c b/drivers/staging/greybus/svc.c index 029b5a7d1560..db009223d759 100644 --- 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;