From: Joe Perches <joe@perches.com>
To: linux-scsi@vger.kernel.org
Cc: James Smart <james.smart@broadcom.com>,
Dick Kennedy <dick.kennedy@broadcom.com>,
"James E.J. Bottomley" <jejb@linux.ibm.com>,
"Martin K. Petersen" <martin.petersen@oracle.com>,
linux-kernel@vger.kernel.org
Subject: [PATCH 0/2] scsi: lpfc: Reduce logging object code size
Date: Mon, 10 Aug 2020 15:59:18 -0700 [thread overview]
Message-ID: <cover.1597100152.git.joe@perches.com> (raw)
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
next reply other threads:[~2020-08-10 22:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-10 22:59 Joe Perches [this message]
2020-08-10 22:59 ` [PATCH 1/2] scsi: lpfc: Neaten logging macro #defines Joe Perches
2020-08-10 22:59 ` [PATCH 2/2] scsi: lpfc: Add logging functions to reduce object size Joe Perches
2020-09-09 4:10 ` [PATCH 0/2] scsi: lpfc: Reduce logging object code size Joe Perches
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1597100152.git.joe@perches.com \
--to=joe@perches.com \
--cc=dick.kennedy@broadcom.com \
--cc=james.smart@broadcom.com \
--cc=jejb@linux.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).