Bug 9213

Summary: ide/pci/cy82c693.c:439: error: primary causes a section type conflict
Product: IO/Storage Reporter: Avuton Olrich (avuton)
Component: IDEAssignee: Bartlomiej Zolnierkiewicz (bzolnier)
Status: CLOSED CODE_FIX    
Severity: normal CC: randy.dunlap
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: linux-2.6.24-0895e91d60ef9bdef426d1ce14bb94bd5875870d Subsystem:
Regression: --- Bisected commit-id:
Attachments: config

Description Avuton Olrich 2007-10-23 05:19:34 UTC
My randconfig script the attached config caught an error on:
drivers/ide/pci/cy82c693.c:439: error: primary causes a section type conflict

My git tree: 0895e91d60ef9bdef426d1ce14bb94bd5875870d

Bisected to:
8562043606430185cad26d085d46adcc7ad67fd1 is first bad commit
commit 8562043606430185cad26d085d46adcc7ad67fd1
Author: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Date:   Sat Oct 20 00:32:34 2007 +0200

   ide: constify struct ide_port_info

   Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>

:040000 040000 27932334bd506612fc98b4b6252cf6e4765847a5
dc7d68c5747f194f7607d7419dabfefa0b116150 Mdrivers
:040000 040000 8fd684141c9225d3d78e1c0e9fbbf92573429be0
ab45600da4f8e605f98079ba7e170f180dc0dec1 Minclude
Comment 1 Randy Dunlap 2007-10-23 12:39:02 UTC
Missing .config file (i.e., I don't see this).
However, it's likely that gcc puts const data into .rodata section(s),
so that overrides the __devinitdata section tags, and we don't have
a __const_initdata section tag.
Comment 2 Avuton Olrich 2007-10-23 13:35:14 UTC
Created attachment 13255 [details]
config

Sorry about that; I sent it to Bart and forgot to do the same here.
Comment 3 Bartlomiej Zolnierkiewicz 2007-10-28 15:21:46 UTC
fixed upstream