Skip to content

scsi: fixes for building with LTO

Arnd Bergmann linux-scsi lkml 1 version Applied

Status from this message: Applied to 4.17/scsi-queue. Thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 8 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6scsi: fc_encode: work around strncpy size warningsinclude/scsi/fc/fc_ms.h+1 -10 replies
2/6scsi: NCR53c406a: avoid section mismatch with LTOdrivers/scsi/NCR53c406a.c+1 -11 reply
3/6scsi: sym53c416: avoid section mismatch with LTOdrivers/scsi/sym53c416.c+1 -11 reply
4/6scsi: qedf: fix LTO-enabled builddrivers/scsi/qedf/qedf_dbg.h drivers/scsi/qedf/qedf_debugfs.c drivers/scsi/qedf/qedf_main.c+16 -152 replies
5/6scsi: qedi: fix building with LTOdrivers/scsi/qedi/qedi_dbg.h drivers/scsi/qedi/qedi_debugfs.c drivers/scsi/qedi/qedi_gbl.h +1 more+7 -72 replies
6/6scsi: qedf: use correct strncpy() sizedrivers/scsi/qedf/qedf_dbg.c+1 -12 replies

Reviews trailers per patch

3 of 6 patches have a Reviewed-by or Acked-by.

PatchManish RangankarChad Dupuis
1/6
2/6
3/6
4/6A-b
5/6A-b
6/6A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] scsi: fixes for building with LTO

I experimented with link time optimization after Nico's article at https://lwn.net/Articles/744507/

Here is a set of patches that came out of it for the scsi subsystem.

Arnd Bergmann (6):
scsi: fc_encode: work around strncpy size warnings
scsi: NCR53c406a: avoid section mismatch with LTO
scsi: sym53c416: avoid section mismatch with LTO
scsi: qedf: fix LTO-enabled build
scsi: qedi: fix building with LTO
scsi: qedf: use correct strncpy() size

 drivers/scsi/NCR53c406a.c        |  2 +-
 drivers/scsi/qedf/qedf_dbg.c     |  2 +-
 drivers/scsi/qedf/qedf_dbg.h     | 17 ++++++++++-------
 drivers/scsi/qedf/qedf_debugfs.c |  6 +++---
 drivers/scsi/qedf/qedf_main.c    |  8 +++-----
 drivers/scsi/qedi/qedi_dbg.h     |  2 +-
 drivers/scsi/qedi/qedi_debugfs.c |  4 ++--
 drivers/scsi/qedi/qedi_gbl.h     |  4 ++--
 drivers/scsi/qedi/qedi_main.c    |  4 ++--
 drivers/scsi/sym53c416.c         |  2 +-
 include/scsi/fc/fc_ms.h          |  2 +-
 11 files changed, 27 insertions(+), 26 deletions(-)
Signature · 1 line
2.9.0