summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/operation.h
diff options
context:
space:
mode:
authorJohan Hovold <johan@hovoldconsulting.com>2015-07-17 18:50:25 +0200
committerGreg Kroah-Hartman <gregkh@google.com>2015-07-20 16:14:29 -0700
commit1c7658cf5165586acff901b7e6ef27d8d5f2818d (patch)
tree07d3ac15cf34097446652e7edfea5a001bcf2898 /drivers/staging/greybus/operation.h
parent93047af23c8389d1a63883dcb59cd8c2fd472b45 (diff)
greybus: operation: fix atomic response allocation
Response allocation also needs a GFP-flags argument as a response is allocated as part of an outgoing operation. Fixes: 9aa174d202e5 ("operation: allow atomic operation allocations") Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/operation.h')
-rw-r--r--drivers/staging/greybus/operation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/greybus/operation.h b/drivers/staging/greybus/operation.h
index 685470349460..00189e963a01 100644
--- a/drivers/staging/greybus/operation.h
+++ b/drivers/staging/greybus/operation.h
@@ -166,7 +166,7 @@ static inline void gb_operation_destroy(struct gb_operation *operation)
}
bool gb_operation_response_alloc(struct gb_operation *operation,
- size_t response_size);
+ size_t response_size, gfp_t gfp);
int gb_operation_request_send(struct gb_operation *operation,
gb_operation_callback callback,