[PATCH 0/4] scsi: Prevent several section mismatch warnings

Uwe Kleine-König posted 4 patches 1 year, 10 months ago
drivers/scsi/a3000.c      | 8 +++++++-
drivers/scsi/a4000t.c     | 8 +++++++-
drivers/scsi/atari_scsi.c | 8 +++++++-
drivers/scsi/mac_scsi.c   | 8 +++++++-
4 files changed, 28 insertions(+), 4 deletions(-)
[PATCH 0/4] scsi: Prevent several section mismatch warnings
Posted by Uwe Kleine-König 1 year, 10 months ago
Hello,

this series fixes the same issue in four drivers. The warning is a false
positive and to suppress it the driver structs are marked with
__refdata and a comment is added to describe the (non-trivial)
situation.

Best regards
Uwe

Uwe Kleine-König (4):
  scsi: a3000: Mark driver struct with __refdata to prevent section mismatch
  scsi: a4000t: Mark driver struct with __refdata to prevent section mismatch
  scsi: atari_scsi: Mark driver struct with __refdata to prevent section mismatch
  scsi: mac_scsi: Mark driver struct with __refdata to prevent section mismatch

 drivers/scsi/a3000.c      | 8 +++++++-
 drivers/scsi/a4000t.c     | 8 +++++++-
 drivers/scsi/atari_scsi.c | 8 +++++++-
 drivers/scsi/mac_scsi.c   | 8 +++++++-
 4 files changed, 28 insertions(+), 4 deletions(-)

base-commit: a6bd6c9333397f5a0e2667d4d82fef8c970108f2
-- 
2.43.0

Re: [PATCH 0/4] scsi: Prevent several section mismatch warnings
Posted by Martin K. Petersen 1 year, 10 months ago
On Fri, 29 Mar 2024 22:11:40 +0100, Uwe Kleine-König wrote:

> this series fixes the same issue in four drivers. The warning is a false
> positive and to suppress it the driver structs are marked with
> __refdata and a comment is added to describe the (non-trivial)
> situation.
> 
> Best regards
> Uwe
> 
> [...]

Applied to 6.10/scsi-queue, thanks!

[1/4] scsi: a3000: Mark driver struct with __refdata to prevent section mismatch
      https://git.kernel.org/mkp/scsi/c/e81bb6f59b35
[2/4] scsi: a4000t: Mark driver struct with __refdata to prevent section mismatch
      https://git.kernel.org/mkp/scsi/c/e70d4cce8923
[3/4] scsi: atari_scsi: Mark driver struct with __refdata to prevent section mismatch
      https://git.kernel.org/mkp/scsi/c/bb8520996fe1
[4/4] scsi: mac_scsi: Mark driver struct with __refdata to prevent section mismatch
      https://git.kernel.org/mkp/scsi/c/4a0166d55edd

-- 
Martin K. Petersen	Oracle Linux Engineering
Re: [PATCH 0/4] scsi: Prevent several section mismatch warnings
Posted by Martin K. Petersen 1 year, 10 months ago
Uwe,

> this series fixes the same issue in four drivers. The warning is a
> false positive and to suppress it the driver structs are marked with
> __refdata and a comment is added to describe the (non-trivial)
> situation.

Applied to 6.10/scsi-staging, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering