greybus: operation: fix atomic message submission
authorJohan Hovold <johan@hovoldconsulting.com>
Fri, 17 Jul 2015 16:50:26 +0000 (18:50 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Mon, 20 Jul 2015 23:14:29 +0000 (16:14 -0700)
The recently added GFP-flags argument to gb_message_send was never used.

Fixes: 9218fac2a24d ("operation: allow atomic request submissions")
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/operation.c

index 0fe50d8..f2d12e8 100644 (file)
@@ -200,7 +200,7 @@ static int gb_message_send(struct gb_message *message, gfp_t gfp)
        return connection->hd->driver->message_send(connection->hd,
                                        connection->hd_cport_id,
                                        message,
-                                       GFP_KERNEL);
+                                       gfp);
 }
 
 /*