mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
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 <mporter@linaro.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
This commit is contained in:
parent
7a57479b1d
commit
513c54cb05
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user