scsi: introduce sdev_prefix_printk()
authorHannes Reinecke <hare@suse.de>
Fri, 24 Oct 2014 12:26:44 +0000 (14:26 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 12 Nov 2014 10:15:57 +0000 (11:15 +0100)
commit22e0d994151c3eac183625f8c1400c0c83ac414f
treee56b40c34245c0a4ef831826c9e76d1aa0459a92
parentf75ae8ed0853e62dff70f4d0229f8d57228c84bd
scsi: introduce sdev_prefix_printk()

Like scmd_printk(), but the device name is passed in as
a string. Can be used by eg ULDs which do not have access
to the scsi_cmnd structure.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Robert Elliott <elliott@hp.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/ch.c
drivers/scsi/sd.h
drivers/scsi/sg.c
drivers/scsi/sr.h
drivers/scsi/st.c
include/scsi/scsi_device.h