diff options
-rw-r--r-- | drivers/thunderbolt/eeprom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thunderbolt/eeprom.c b/drivers/thunderbolt/eeprom.c index bc0449f581c2..b133f3fdaf51 100644 --- a/drivers/thunderbolt/eeprom.c +++ b/drivers/thunderbolt/eeprom.c @@ -323,7 +323,7 @@ static int tb_drom_parse_entry(struct tb_switch *sw, struct tb_drom_entry_port *entry = (void *) header; if (header->len != sizeof(*entry)) { tb_sw_warn(sw, - "port entry has size %#x (expected %#lx)\n", + "port entry has size %#x (expected %#zx)\n", header->len, sizeof(struct tb_drom_entry_port)); return -EIO; } |