lkml.org 
[lkml]   [2009]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] Kbuild: Disable the -Wformat-security gcc flag
Date
 > > So what is this "warn_no_rtc" thing?
> >
> > static char warn_no_rtc[] __initdata =
> > KERN_WARNING "PM: no wakealarm-capable RTC driver is ready\n";
>
> Does it help to make it const?

You can't make __initdata const, because the initdata section is not
read-only.

- R.


\
 
 \ /
  Last update: 2009-02-05 22:55    [W:0.029 / U:2.664 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site