All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bart Van Assche <bvanassche@acm.org>
To: "Martin K . Petersen" <martin.petersen@oracle.com>
Cc: linux-scsi@vger.kernel.org, Bart Van Assche <bvanassche@acm.org>
Subject: [PATCH v4 0/4] Prepare for constifying SCSI host templates
Date: Tue, 13 Sep 2022 12:57:12 -0700	[thread overview]
Message-ID: <20220913195716.3966875-1-bvanassche@acm.org> (raw)

Hi Martin,

This patch series prepares for constifying SCSI host templates by moving the
members that are not constant out of the SCSI host template. Please consider
this patch series for the next merge window.

Thanks,

Bart.

Changes compared to v3:
- Changed the 'present' counter from 8 to 32 bits.
- Fixed a bug in an error path (reported by John Garry).
- Changed EXPORT_SYMBOL() into EXPORT_SYMBOL_GPL().
- Split patch 1/3 into two patches.

Changes compared to v2:
- Optimized the show_info == NULL case.
- Added a patch that removes the code that clears the module pointer in the host
  template.

Changes compared to v1:
- Fix the CONFIG_SCSI_PROC_FS=n build.

Bart Van Assche (4):
  scsi: esas2r: Initialize two host template members implicitly
  scsi: esas2r: Introduce scsi_template_proc_dir()
  scsi: core: Introduce a new list for SCSI proc directory entries
  scsi: core: Rework the code for dropping the LLD module reference

 drivers/scsi/esas2r/esas2r_main.c |  19 +++--
 drivers/scsi/scsi_priv.h          |   4 +-
 drivers/scsi/scsi_proc.c          | 120 ++++++++++++++++++++++++++----
 drivers/scsi/scsi_sysfs.c         |   7 +-
 include/scsi/scsi_device.h        |   1 +
 include/scsi/scsi_host.h          |  18 ++---
 6 files changed, 127 insertions(+), 42 deletions(-)


             reply	other threads:[~2022-09-13 19:57 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-13 19:57 Bart Van Assche [this message]
2022-09-13 19:57 ` [PATCH v4 1/4] scsi: esas2r: Initialize two host template members implicitly Bart Van Assche
2022-09-14  9:05   ` John Garry
2022-09-13 19:57 ` [PATCH v4 2/4] scsi: esas2r: Introduce scsi_template_proc_dir() Bart Van Assche
2022-09-14  9:06   ` John Garry
2022-09-14 16:43     ` Bart Van Assche
2022-09-14 16:53       ` John Garry
2022-09-13 19:57 ` [PATCH v4 3/4] scsi: core: Introduce a new list for SCSI proc directory entries Bart Van Assche
2022-09-14  9:43   ` John Garry
2022-09-14 16:52     ` Bart Van Assche
2022-09-13 19:57 ` [PATCH v4 4/4] scsi: core: Rework the code for dropping the LLD module reference Bart Van Assche
2022-09-14  9:52   ` John Garry
2022-09-14 17:54     ` Bart Van Assche
2022-09-14  9:21 ` [PATCH v4 0/4] Prepare for constifying SCSI host templates John Garry
2022-09-14 17:06   ` Bart Van Assche

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=20220913195716.3966875-1-bvanassche@acm.org \
    --to=bvanassche@acm.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.