diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-10-24 18:04:36 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-10-28 22:04:15 -0400 |
commit | 017560fca496f72ed9dd734ffde63ce39dfe0411 (patch) | |
tree | e63ae9a28fc179e715eda32f12aaec4ca752651b /drivers/scsi/ipr.h | |
parent | 3bf743e7c891d8be8295650b7a6a9b5af083b096 (diff) |
[SCSI] use sfoo_printk() in drivers
Rejections fixed up and
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
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__) |