lkml.org 
[lkml]   [2008]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH #upstream] libata: implement libata.force module parameter
Tejun Heo wrote:
> Sam Ravnborg wrote:
>> I have lost the actual patch.
>> But what you see is what happens when you mix const and non-const data
>> in the same section.
>>
>> Look for use of __initdata for const data and replace it with __initconst.
>>
>> And modpost cannot warn about it as gcc errors out before we look at the
>> .o file with modpost.
>
> OIC, thanks. Hmmm... in init.h, I see __{dev|cpu|mem}initconst but no
> __initconst. The data structure in question is used from module init
> function tagged properly with __init. What should be done here?

PING.

--
tejun


\
 
 \ /
  Last update: 2008-02-12 01:27    [W:0.225 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site