Commit ee989b02 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

staging: greybus: manifest: Fix up some alignment checkpatch issues

Some function prototypes do not match the expected alignment formatting
so fix that up so that checkpatch is happy.

Cc: Johan Hovold <johan@kernel.org>
Cc: greybus-dev@lists.linaro.org
Cc: devel@driverdev.osuosl.org
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Acked-by: default avatarAlex Elder <elder@kernel.org>
Link: https://lore.kernel.org/r/20190825055429.18547-5-gregkh@linuxfoundation.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a11ac9ef
...@@ -104,8 +104,8 @@ static int identify_descriptor(struct gb_interface *intf, ...@@ -104,8 +104,8 @@ static int identify_descriptor(struct gb_interface *intf,
size_t expected_size; size_t expected_size;
if (size < sizeof(*desc_header)) { if (size < sizeof(*desc_header)) {
dev_err(&intf->dev, "manifest too small (%zu < %zu)\n", dev_err(&intf->dev, "manifest too small (%zu < %zu)\n", size,
size, sizeof(*desc_header)); sizeof(*desc_header));
return -EINVAL; /* Must at least have header */ return -EINVAL; /* Must at least have header */
} }
...@@ -264,8 +264,7 @@ static u32 gb_manifest_parse_cports(struct gb_bundle *bundle) ...@@ -264,8 +264,7 @@ static u32 gb_manifest_parse_cports(struct gb_bundle *bundle)
desc_cport = tmp->data; desc_cport = tmp->data;
if (cport_id == le16_to_cpu(desc_cport->id)) { if (cport_id == le16_to_cpu(desc_cport->id)) {
dev_err(&bundle->dev, dev_err(&bundle->dev,
"duplicate CPort %u found\n", "duplicate CPort %u found\n", cport_id);
cport_id);
goto exit; goto exit;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment