The logging macros are pretty heavyweight and can be consolidated to reduce overall object size. Joe Perches (2): scsi: lpfc: Neaten logging macro #defines scsi: lpfc: Add logging functions to reduce object size drivers/scsi/lpfc/Makefile | 2 +- drivers/scsi/lpfc/lpfc.h | 5 ++ drivers/scsi/lpfc/lpfc_attr.h | 5 ++ drivers/scsi/lpfc/lpfc_bsg.h | 6 ++ drivers/scsi/lpfc/lpfc_compat.h | 5 ++ drivers/scsi/lpfc/lpfc_crtn.h | 5 ++ drivers/scsi/lpfc/lpfc_disc.h | 5 ++ drivers/scsi/lpfc/lpfc_hw.h | 5 ++ drivers/scsi/lpfc/lpfc_hw4.h | 5 ++ drivers/scsi/lpfc/lpfc_ids.h | 5 ++ drivers/scsi/lpfc/lpfc_logmsg.c | 112 +++++++++++++++++++++++++++++++ drivers/scsi/lpfc/lpfc_logmsg.h | 63 ++++++----------- drivers/scsi/lpfc/lpfc_nl.h | 4 ++ drivers/scsi/lpfc/lpfc_nvme.h | 5 ++ drivers/scsi/lpfc/lpfc_scsi.h | 4 ++ drivers/scsi/lpfc/lpfc_sli.h | 5 ++ drivers/scsi/lpfc/lpfc_sli4.h | 5 ++ drivers/scsi/lpfc/lpfc_version.h | 5 ++ 18 files changed, 208 insertions(+), 43 deletions(-) create mode 100644 drivers/scsi/lpfc/lpfc_logmsg.c -- 2.26.0