]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit857a7ff9668f2acc2006966770f3821e12dfb582
treee56b40c34245c0a4ef831826c9e76d1aa0459a92
parent138ac6d7f6a556cbe8cf5c3ae44312d60a360109
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