[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <adaocxgk0vc.fsf@cisco.com>
Date: Thu, 05 Feb 2009 13:52:23 -0800
From: Roland Dreier <rdreier@...co.com>
To: Andreas Schwab <schwab@...e.de>
Cc: Floris Kraak <randakar@...il.com>,
Robert Hancock <hancockrwd@...il.com>,
Sam Ravnborg <sam@...nborg.org>,
Alan Cox <alan@...rguk.ukuu.org.uk>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Trivial Patch Monkey <trivial@...nel.org>
Subject: Re: [PATCH] Kbuild: Disable the -Wformat-security gcc flag
> > 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists