Commit 513c54cb authored by Matt Porter's avatar Matt Porter Committed by Greg Kroah-Hartman

greybus: fix error message on parse of cport descriptor size

Fix a simple cut and paste error that was reporting a serial
number header size error rather than a cport descriptor size
error.
Signed-off-by: default avatarMatt Porter <mporter@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent 7a57479b
......@@ -303,7 +303,7 @@ static int create_cport(struct greybus_module *gmod,
if (desc_size != sizeof(*cport)) {
dev_err(gmod->dev.parent,
"invalid serial number header size %zu\n", desc_size);
"invalid cport descriptor size %zu\n", desc_size);
return -EINVAL;
}
......
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