From: Randy Dunlap <randy.dunlap@xxxxxxxxxx> Fix section mismatch warnings: WARNING: drivers/scsi/sim710.o(.data+0x24): Section mismatch in reference from the variable sim710_mca_driver to the function .init.text:sim710_mca_probe() WARNING: drivers/scsi/sim710.o(.data+0x60): Section mismatch in reference from the variable sim710_eisa_driver to the function .init.text:sim710_eisa_probe() although it does now generate this unwanted warning: drivers/scsi/sim710.c:268: warning: 'noinline' attribute ignored drivers/scsi/sim710.c:328: warning: 'noinline' attribute ignored Am I using the wrong marker here? Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx> --- drivers/scsi/sim710.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- lnx-30-rc4.orig/drivers/scsi/sim710.c +++ lnx-30-rc4/drivers/scsi/sim710.c @@ -265,7 +265,7 @@ sim710_mca_probe(struct device *dev) 0, id_array[slot]); } -static struct mca_driver sim710_mca_driver = { +static struct mca_driver sim710_mca_driver __init_refok = { .id_table = sim710_mca_id_table, .driver = { .name = "sim710", @@ -325,7 +325,7 @@ sim710_eisa_probe(struct device *dev) differential, scsi_id); } -static struct eisa_driver sim710_eisa_driver = { +static struct eisa_driver sim710_eisa_driver __init_refok = { .id_table = sim710_eisa_ids, .driver = { .name = "sim710", --- -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html