diff options
Diffstat (limited to 'drivers/scsi/ipr.h')
-rw-r--r-- | drivers/scsi/ipr.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/scsi/ipr.h b/drivers/scsi/ipr.h index cbff3ea3cd89..8cf967108500 100644 --- a/drivers/scsi/ipr.h +++ b/drivers/scsi/ipr.h | |||
@@ -1114,9 +1114,8 @@ struct ipr_ucode_image_header { | |||
1114 | #define ipr_warn(...) printk(KERN_WARNING IPR_NAME": "__VA_ARGS__) | 1114 | #define ipr_warn(...) printk(KERN_WARNING IPR_NAME": "__VA_ARGS__) |
1115 | #define ipr_dbg(...) IPR_DBG_CMD(printk(KERN_INFO IPR_NAME ": "__VA_ARGS__)) | 1115 | #define ipr_dbg(...) IPR_DBG_CMD(printk(KERN_INFO IPR_NAME ": "__VA_ARGS__)) |
1116 | 1116 | ||
1117 | #define ipr_sdev_printk(level, sdev, fmt, ...) \ | 1117 | #define ipr_sdev_printk(level, sdev, fmt, args...) \ |
1118 | printk(level IPR_NAME ": %d:%d:%d:%d: " fmt, sdev->host->host_no, \ | 1118 | sdev_printk(level, sdev, fmt, ## args) |
1119 | sdev->channel, sdev->id, sdev->lun, ##__VA_ARGS__) | ||
1120 | 1119 | ||
1121 | #define ipr_sdev_err(sdev, fmt, ...) \ | 1120 | #define ipr_sdev_err(sdev, fmt, ...) \ |
1122 | ipr_sdev_printk(KERN_ERR, sdev, fmt, ##__VA_ARGS__) | 1121 | ipr_sdev_printk(KERN_ERR, sdev, fmt, ##__VA_ARGS__) |