summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/greybus.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman2014-09-22 04:10:39 +0200
committerGreg Kroah-Hartman2014-09-22 04:10:39 +0200
commitd0cfd109c7eb5df548dd98bfa7f2dba370c68e1c (patch)
treefe7f22b110fa68b332fe9c2f390632e95feb3fa9 /drivers/staging/greybus/greybus.h
parentgreybus: ap: start validating the message better (diff)
downloadkernel-qcow2-linux-d0cfd109c7eb5df548dd98bfa7f2dba370c68e1c.tar.gz
kernel-qcow2-linux-d0cfd109c7eb5df548dd98bfa7f2dba370c68e1c.tar.xz
kernel-qcow2-linux-d0cfd109c7eb5df548dd98bfa7f2dba370c68e1c.zip
greybus: ap: validate the rest of the svc message buffer sizes
Diffstat (limited to 'drivers/staging/greybus/greybus.h')
-rw-r--r--drivers/staging/greybus/greybus.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/greybus/greybus.h b/drivers/staging/greybus/greybus.h
index f804b198254d..855cb0e02bb7 100644
--- a/drivers/staging/greybus/greybus.h
+++ b/drivers/staging/greybus/greybus.h
@@ -288,7 +288,8 @@ const u8 *greybus_string(struct greybus_device *gdev, int id);
/* Internal functions to gb module, move to internal .h file eventually. */
-void gb_add_module(struct greybus_host_device *hd, u8 module_id, u8 *data);
+void gb_add_module(struct greybus_host_device *hd, u8 module_id,
+ u8 *data, int size);
void gb_remove_module(struct greybus_host_device *hd, u8 module_id);
int gb_new_ap_msg(u8 *data, int length, struct greybus_host_device *hd);