Re: [PATCH] Kbuild: Disable the -Wformat-security gcc flag

From: Roland Dreier
Date: Thu Feb 05 2009 - 16:52:35 EST


> > 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/