diff options
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r-- | include/linux/libata.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index 1ca9b89632f9..3784af395576 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -1013,18 +1013,18 @@ extern void ata_do_eh(struct ata_port *ap, ata_prereset_fn_t prereset, | |||
1013 | * printk helpers | 1013 | * printk helpers |
1014 | */ | 1014 | */ |
1015 | #define ata_port_printk(ap, lv, fmt, args...) \ | 1015 | #define ata_port_printk(ap, lv, fmt, args...) \ |
1016 | printk(lv"ata%u: "fmt, (ap)->print_id , ##args) | 1016 | printk("%sata%u: "fmt, lv, (ap)->print_id , ##args) |
1017 | 1017 | ||
1018 | #define ata_link_printk(link, lv, fmt, args...) do { \ | 1018 | #define ata_link_printk(link, lv, fmt, args...) do { \ |
1019 | if ((link)->ap->nr_pmp_links) \ | 1019 | if ((link)->ap->nr_pmp_links) \ |
1020 | printk(lv"ata%u.%02u: "fmt, (link)->ap->print_id, \ | 1020 | printk("%sata%u.%02u: "fmt, lv, (link)->ap->print_id, \ |
1021 | (link)->pmp , ##args); \ | 1021 | (link)->pmp , ##args); \ |
1022 | else \ | 1022 | else \ |
1023 | printk(lv"ata%u: "fmt, (link)->ap->print_id , ##args); \ | 1023 | printk("%sata%u: "fmt, lv, (link)->ap->print_id , ##args); \ |
1024 | } while(0) | 1024 | } while(0) |
1025 | 1025 | ||
1026 | #define ata_dev_printk(dev, lv, fmt, args...) \ | 1026 | #define ata_dev_printk(dev, lv, fmt, args...) \ |
1027 | printk(lv"ata%u.%02u: "fmt, (dev)->link->ap->print_id, \ | 1027 | printk("%sata%u.%02u: "fmt, lv, (dev)->link->ap->print_id, \ |
1028 | (dev)->link->pmp + (dev)->devno , ##args) | 1028 | (dev)->link->pmp + (dev)->devno , ##args) |
1029 | 1029 | ||
1030 | /* | 1030 | /* |