Re: [PATCH 02/43] hpsa: clean up host, channel, target, lun prints

Christoph Hellwig
2015-02-23T20:16:09Z

> + dev_info(&h->pdev->dev,
> + "%6s scsi %d:%d:%d:%d: %s %.8s %.16s RAID-%s SSDSmartPathCap%c En%c Exp=%d\n",

So you still have an action before the identifier. Can't you just add
a hpsa_dev_printk macro similar to sdev_printk that encapsulates the
format, and also makes sure it's always the prefix for the log message?