From: John Garry <john.garry@huawei.com>
To: jejb@linux.vnet.ibm.com, martin.petersen@oracle.com
Cc: hare@suse.com, yanaijie@huawei.com, linuxarm@huawei.com,
linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org,
joe@perches.com, John Garry <john.garry@huawei.com>
Subject: [PATCH v2 0/5] libsas: Some logging tidy-up
Date: Thu, 15 Nov 2018 18:20:27 +0800 [thread overview]
Message-ID: <1542277232-135789-1-git-send-email-john.garry@huawei.com> (raw)
This patchset presents some logging tidy-up, namely removing the printk
wrappers and using pr_XXX() instead.
In addition, some log levels are revised, as previous levels (generally
debug) were too low.
Finally a referece to "pci" is removed from a log, and unreferenced dump
files are deleted.
Differences v1->v2:
- Reunited strings to a single line
- fixed "sas: sas:" prefix in messages
John Garry (5):
scsi: libsas: Delete sas_dump.{c, h}
scsi: libsas: Use pr_fmt(fmt)
scsi: libsas: Drop sas_printk()
scsi: libsas: Drop SAS_DPRINTK() and revise logs levels
scsi: libsas: Remove pcidev reference
drivers/scsi/libsas/Makefile | 3 +-
drivers/scsi/libsas/sas_ata.c | 26 ++--
drivers/scsi/libsas/sas_discover.c | 33 +++--
drivers/scsi/libsas/sas_dump.c | 63 ----------
drivers/scsi/libsas/sas_dump.h | 29 -----
drivers/scsi/libsas/sas_event.c | 1 -
drivers/scsi/libsas/sas_expander.c | 236 +++++++++++++++++-------------------
drivers/scsi/libsas/sas_init.c | 10 +-
drivers/scsi/libsas/sas_internal.h | 16 ++-
drivers/scsi/libsas/sas_phy.c | 8 +-
drivers/scsi/libsas/sas_port.c | 23 ++--
drivers/scsi/libsas/sas_scsi_host.c | 123 +++++++++----------
drivers/scsi/libsas/sas_task.c | 10 +-
13 files changed, 233 insertions(+), 348 deletions(-)
delete mode 100644 drivers/scsi/libsas/sas_dump.c
delete mode 100644 drivers/scsi/libsas/sas_dump.h
--
1.9.1
next reply other threads:[~2018-11-15 10:20 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-15 10:20 John Garry [this message]
2018-11-15 10:20 ` [PATCH v2 1/5] scsi: libsas: Delete sas_dump.{c, h} John Garry
2018-11-15 10:20 ` [PATCH v2 2/5] scsi: libsas: Use pr_fmt(fmt) John Garry
2018-11-15 10:20 ` [PATCH v2 3/5] scsi: libsas: Drop sas_printk() John Garry
2018-11-15 10:20 ` [PATCH v2 4/5] scsi: libsas: Drop SAS_DPRINTK() and revise logs levels John Garry
2018-11-15 10:20 ` [PATCH v2 5/5] scsi: libsas: Remove pcidev reference John Garry
2018-11-15 12:34 ` [PATCH v2 0/5] libsas: Some logging tidy-up Joe Perches
2018-11-15 19:40 ` Martin K. Petersen
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=1542277232-135789-1-git-send-email-john.garry@huawei.com \
--to=john.garry@huawei.com \
--cc=hare@suse.com \
--cc=jejb@linux.vnet.ibm.com \
--cc=joe@perches.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=linuxarm@huawei.com \
--cc=martin.petersen@oracle.com \
--cc=yanaijie@huawei.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