All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/17] A series of small SCSI patches for kernel v4.14
@ 2017-08-25 20:46 Bart Van Assche
  2017-08-25 20:46 ` [PATCH v2 01/17] Remove an obsolete function declaration Bart Van Assche
                   ` (17 more replies)
  0 siblings, 18 replies; 20+ messages in thread
From: Bart Van Assche @ 2017-08-25 20:46 UTC (permalink / raw)
  To: Martin K . Petersen, James E . J . Bottomley; +Cc: linux-scsi, Bart Van Assche

Hello Martin,

The patches in this series fall into three categories:
- One patch renames a few functions to make it clear whether these
  are used by the legacy SCSI code path or by the new scsi-mq code.
- Two patches are related to using blk_mq_rq_to_pdu() instead of
  struct request.special.
- Fourteen patches suppress warnings reported by static analysis
  tools. These tools are very useful but unfortunately the current
  code base makes these tools report a significant number of false
  positives.

Please consider these patches for kernel v4.14.

Thanks,

Bart.

Changes in v2 compared to v1:
- Left out the SCSI device VPD patch from this series and posted it
  separately as a two-patch series.
- Reworked patch "scsi_transport_srp: Suppress a W=1 compiler warning".
- Dropped the patch "scsi_setup_fs_cmnd(): Call scsi_req_init() instead of
  open-coding it".

Bart Van Assche (17):
  Remove an obsolete function declaration
  Avoid sign extension of scsi_device.type
  Suppress gcc 7 fall-through warnings reported with W=1
  Convert a strncmp() call into a strcmp() call
  Document which queue type a function is intended for
  Use blk_mq_rq_to_pdu() to convert a request to a SCSI command pointer
  sd, sr: Convert two assignments into warning statements
  sd: Fix indentation
  sd: Remove a useless comparison
  sg: Fix type of last blk_trace_setup() argument
  libiscsi: Fix indentation
  libsas: Remove a set-but-not-used variable
  libsas: Annotate fall-through in a switch statement
  scsi_transport_sas, sas_tlr_supported(): Check kzalloc() return value
  scsi_transport_srp: Suppress a W=1 compiler warning
  scsi_debug: Remove a set-but-not-used variable
  iscsi_tcp: Remove a set-but-not-used variable

 drivers/scsi/iscsi_tcp.c            |  2 --
 drivers/scsi/libiscsi.c             |  2 +-
 drivers/scsi/libsas/sas_ata.c       |  1 +
 drivers/scsi/libsas/sas_scsi_host.c |  3 ---
 drivers/scsi/scsi_debug.c           |  3 +--
 drivers/scsi/scsi_error.c           | 10 +++++++--
 drivers/scsi/scsi_ioctl.c           |  4 +++-
 drivers/scsi/scsi_lib.c             | 41 +++++++++++++++++++------------------
 drivers/scsi/scsi_priv.h            |  2 +-
 drivers/scsi/scsi_scan.c            |  2 +-
 drivers/scsi/scsi_sysfs.c           |  2 +-
 drivers/scsi/scsi_transport_sas.c   |  3 +++
 drivers/scsi/scsi_transport_srp.c   |  2 +-
 drivers/scsi/sd.c                   |  6 +++---
 drivers/scsi/sg.c                   |  3 +--
 drivers/scsi/sr.c                   |  2 +-
 include/scsi/scsi_cmnd.h            |  1 -
 include/scsi/scsi_device.h          |  2 +-
 include/scsi/scsi_tcq.h             |  2 +-
 include/scsi/scsi_transport_srp.h   |  2 +-
 20 files changed, 50 insertions(+), 45 deletions(-)

-- 
2.14.1

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2017-09-14 20:56 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-25 20:46 [PATCH v2 00/17] A series of small SCSI patches for kernel v4.14 Bart Van Assche
2017-08-25 20:46 ` [PATCH v2 01/17] Remove an obsolete function declaration Bart Van Assche
2017-08-25 20:46 ` [PATCH v2 02/17] Avoid sign extension of scsi_device.type Bart Van Assche
2017-08-25 20:46 ` [PATCH v2 03/17] Suppress gcc 7 fall-through warnings reported with W=1 Bart Van Assche
2017-08-25 20:46 ` [PATCH v2 04/17] Convert a strncmp() call into a strcmp() call Bart Van Assche
2017-08-25 20:46 ` [PATCH v2 05/17] Document which queue type a function is intended for Bart Van Assche
2017-08-25 20:46 ` [PATCH v2 06/17] Use blk_mq_rq_to_pdu() to convert a request to a SCSI command pointer Bart Van Assche
2017-08-25 20:46 ` [PATCH v2 07/17] sd, sr: Convert two assignments into warning statements Bart Van Assche
2017-08-25 20:46 ` [PATCH v2 08/17] sd: Fix indentation Bart Van Assche
2017-08-25 20:46 ` [PATCH v2 09/17] sd: Remove a useless comparison Bart Van Assche
2017-08-25 20:46 ` [PATCH v2 10/17] sg: Fix type of last blk_trace_setup() argument Bart Van Assche
2017-08-25 20:46 ` [PATCH v2 11/17] libiscsi: Fix indentation Bart Van Assche
2017-08-25 20:46 ` [PATCH v2 12/17] libsas: Remove a set-but-not-used variable Bart Van Assche
2017-08-25 20:46 ` [PATCH v2 13/17] libsas: Annotate fall-through in a switch statement Bart Van Assche
2017-08-25 20:46 ` [PATCH v2 14/17] scsi_transport_sas, sas_tlr_supported(): Check kzalloc() return value Bart Van Assche
2017-08-25 20:46 ` [PATCH v2 15/17] scsi_transport_srp: Suppress a W=1 compiler warning Bart Van Assche
2017-08-25 20:46 ` [PATCH v2 16/17] scsi_debug: Remove a set-but-not-used variable Bart Van Assche
2017-08-25 20:46 ` [PATCH v2 17/17] iscsi_tcp: " Bart Van Assche
2017-09-14 20:56   ` Lee Duncan
2017-08-25 21:09 ` [PATCH v2 00/17] A series of small SCSI patches for kernel v4.14 Martin K. Petersen

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.