Re: [PATCH v6 4/9] scsi: Always define blogic_pci_tbl structure

From: Martin K. Petersen
Date: Mon Aug 18 2025 - 22:04:32 EST



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