On Tue, 05 Nov 2024 19:36:31 +0100, Geert Uytterhoeven wrote: > As described in the added code comment, a reference to .exit.text is ok > for drivers registered via module_platform_driver_probe(). Make this > explicit to prevent the following section mismatch warnings > > WARNING: modpost: drivers/scsi/sun3_scsi: section mismatch in reference: sun3_scsi_driver+0x4 (section: .data) -> sun3_scsi_remove (section: .exit.text) > WARNING: modpost: drivers/scsi/sun3_scsi_vme: section mismatch in reference: sun3_scsi_driver+0x4 (section: .data) -> sun3_scsi_remove (section: .exit.text) > > [...] Applied to 6.13/scsi-queue, thanks! [1/1] scsi: sun3: Mark driver struct with __refdata to prevent section mismatch https://git.kernel.org/mkp/scsi/c/50133cf05263 -- Martin K. Petersen Oracle Linux Engineering