mbox series

[0/2] scsi: lpfc: Reduce logging object code size

Message ID cover.1597100152.git.joe@perches.com
Headers show
Series scsi: lpfc: Reduce logging object code size | expand

Message

Joe Perches Aug. 10, 2020, 10:59 p.m. UTC
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