summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ch.c
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@pobox.com>2005-10-25 00:03:34 +0200
committerJames Bottomley <jejb@mulgrave.(none)>2005-10-29 03:47:24 +0200
commit01d7b3b8d09ef78e2c835c03d97ea1d91c26e245 (patch)
tree1e9d9744ea19788f8cd11c5547957325d21bb5bc /drivers/scsi/ch.c
parent[SCSI] kill unused scsi_scan_single_target() (diff)
downloadlinux-01d7b3b8d09ef78e2c835c03d97ea1d91c26e245.tar.xz
linux-01d7b3b8d09ef78e2c835c03d97ea1d91c26e245.zip
[SCSI] introduce sfoo_printk, sfoo_id, sfoo_channel helpers
New dev_printk wrappers, which allow us to shrink code, and eliminate direct references to host/channel/id/lun members: scmd_printk() Introduce wrappers for highly common idioms, which may also help us eliminate some ->{channel,id} references in the future: {scmd,sdev}_id() {scmd,sdev}_channel() The scmd_* wrappers are present in scsi/scsi_device.h because they all employ the dereference chain cmd->device->$member. We would prefer to use static inline functions rather than macros, but that would have a Rejections fixed up and Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/ch.c')
0 files changed, 0 insertions, 0 deletions