> +static inline void hpsa_show_dev_msg(int type, struct ctlr_info *h, > + struct hpsa_scsi_dev_t *dev, char *description) > +{ > +#define HPSA_INFO 0 > +#define HPSA_WARN 1 > +#define HPSA_ERR 2 > + if (type == HPSA_INFO) > + dev_info(&h->pdev->dev, > + "scsi %d:%d:%d:%d: %s %s %.8s %.16s RAID-%s SSDSmartPathCap%c En%c Exp=%d\n", > + else if (type == HPSA_WARN) > + dev_warn(&h->pdev->dev, > + "scsi %d:%d:%d:%d: %s %s %.8s %.16s RAID-%s SSDSmartPathCap%c En%c Exp=%d\n", > + else if (type == HPSA_ERR) > + dev_err(&h->pdev->dev, > + "scsi %d:%d:%d:%d: %s %s %.8s %.16s RAID-%s SSDSmartPathCap%c En%c Exp=%d\n", Why don't you just pass in the kernel KERN_ levels and use dev_printk? -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html