diff options
-rw-r--r-- | drivers/staging/greybus/manifest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/greybus/manifest.c b/drivers/staging/greybus/manifest.c index c80a849617d7..41d51579217f 100644 --- a/drivers/staging/greybus/manifest.c +++ b/drivers/staging/greybus/manifest.c @@ -475,7 +475,7 @@ bool gb_manifest_parse(struct gb_interface *intf, void *data, size_t size) } /* OK, find all the descriptors */ - desc = (struct greybus_descriptor *)(header + 1); + desc = manifest->descriptors; size -= sizeof(*header); while (size) { int desc_size; |