[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <yq1v7mkxe2h.fsf@ca-mkp.ca.oracle.com>
Date: Mon, 18 Aug 2025 22:04:02 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Alexey Gladkov <legion@...nel.org>
Cc: Nathan Chancellor <nathan@...nel.org>,
Nicolas Schier
<nicolas.schier@...ux.dev>,
Masahiro Yamada <masahiroy@...nel.org>,
Petr
Pavlu <petr.pavlu@...e.com>,
Luis Chamberlain <mcgrof@...nel.org>,
Sami
Tolvanen <samitolvanen@...gle.com>,
Daniel Gomez <da.gomez@...sung.com>, linux-kernel@...r.kernel.org,
linux-modules@...r.kernel.org, linux-kbuild@...r.kernel.org,
Khalid Aziz <khalid@...ehiking.org>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
linux-scsi@...r.kernel.org,
James Bottomley
<James.Bottomley@...senPartnership.com>,
Arnd Bergmann <arnd@...db.de>, Damien Le Moal <dlemoal@...nel.org>
Subject: Re: [PATCH v6 4/9] scsi: Always define blogic_pci_tbl structure
Alexey,
> The blogic_pci_tbl structure is used by the MODULE_DEVICE_TABLE macro.
> There is no longer a need to protect it with the MODULE condition,
> since this no longer causes the compiler to warn about an unused
> variable.
>
> To avoid warnings when -Wunused-const-variable option is used, mark it
> as __maybe_unused for such configuration.
Applied to 6.18/scsi-staging, thanks!
--
Martin K. Petersen
Powered by blists - more mailing lists