diff options
-rw-r--r-- | drivers/ata/libata-eh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c index c016829a38fd..513b260bcff1 100644 --- a/drivers/ata/libata-eh.c +++ b/drivers/ata/libata-eh.c | |||
@@ -175,8 +175,8 @@ static void ata_eh_handle_port_resume(struct ata_port *ap) | |||
175 | { } | 175 | { } |
176 | #endif /* CONFIG_PM */ | 176 | #endif /* CONFIG_PM */ |
177 | 177 | ||
178 | static void __ata_ehi_pushv_desc(struct ata_eh_info *ehi, const char *fmt, | 178 | static __printf(2, 0) void __ata_ehi_pushv_desc(struct ata_eh_info *ehi, |
179 | va_list args) | 179 | const char *fmt, va_list args) |
180 | { | 180 | { |
181 | ehi->desc_len += vscnprintf(ehi->desc + ehi->desc_len, | 181 | ehi->desc_len += vscnprintf(ehi->desc + ehi->desc_len, |
182 | ATA_EH_DESC_LEN - ehi->desc_len, | 182 | ATA_EH_DESC_LEN - ehi->desc_len, |