Skip to contentSkip to conversation

ata: Initializer Entries defined twice

DISCUSSION Harvey Harrison 1 participant 1 message Apr 28, 2008 libata

lore
Share & tools
lore
#0 lore raw

Jeff,

These have appeared in mainline recently, they are all related to the can_queue member which is also defined in the ATA_NCQ_SHT macro.

There are more warnings, (grep for ATA_NCQ_SHT) but could you suggest how you'd like this resolved?
drivers/ata/ahci.c:282:2: warning: Initializer entry defined twice
drivers/ata/ahci.c:283:3: also defined here
drivers/ata/sata_sil24.c:391:2: warning: Initializer entry defined twice
drivers/ata/sata_sil24.c:392:3: also defined here
drivers/ata/sata_nv.c:393:2: warning: Initializer entry defined twice
drivers/ata/sata_nv.c:397:3: also defined here
drivers/ata/sata_nv.c:401:2: warning: Initializer entry defined twice
drivers/ata/sata_nv.c:405:3: also defined here
drivers/ata/sata_mv.c:541:2: warning: Initializer entry defined twice
drivers/ata/sata_mv.c:542:3: also defined here

Cheers,

Harvey