diff options
-rw-r--r-- | drivers/ata/libata-eh.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c index d7d5a5ae04ef..1bc1acf3bbbb 100644 --- a/drivers/ata/libata-eh.c +++ b/drivers/ata/libata-eh.c | |||
@@ -231,7 +231,8 @@ void ata_port_pbar_desc(struct ata_port *ap, int bar, ssize_t offset, | |||
231 | if (offset < 0) | 231 | if (offset < 0) |
232 | ata_port_desc(ap, "%s %s%llu@0x%llx", name, type, len, start); | 232 | ata_port_desc(ap, "%s %s%llu@0x%llx", name, type, len, start); |
233 | else | 233 | else |
234 | ata_port_desc(ap, "%s 0x%llx", name, start + offset); | 234 | ata_port_desc(ap, "%s 0x%llx", name, |
235 | start + (unsigned long long)offset); | ||
235 | } | 236 | } |
236 | 237 | ||
237 | #endif /* CONFIG_PCI */ | 238 | #endif /* CONFIG_PCI */ |