From 513c54cb0566dc8aa74b4e3c603a35ee9f8e07ae Mon Sep 17 00:00:00 2001 From: Matt Porter Date: Wed, 1 Oct 2014 15:09:01 -0400 Subject: [PATCH] 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: Matt Porter Signed-off-by: Greg Kroah-Hartman --- drivers/staging/greybus/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/greybus/core.c b/drivers/staging/greybus/core.c index f8ba49cea0b9..c065beb2f9ab 100644 --- a/drivers/staging/greybus/core.c +++ b/drivers/staging/greybus/core.c @@ -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; } -- 2.20.1