[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <45739DB4.6000806@oracle.com>
Date: Sun, 03 Dec 2006 20:01:56 -0800
From: Randy Dunlap <randy.dunlap@...cle.com>
To: Bela Lubkin <blubkin@...are.com>
CC: Andrew Morton <akpm@...l.org>, Corey Minyard <minyard@....org>,
OpenIPMI Developers <openipmi-developer@...ts.sourceforge.net>,
Linux Kernel <linux-kernel@...r.kernel.org>,
Joseph Barnett <jbarnett@...orola.com>
Subject: Re: [Openipmi-developer] [PATCH 9/12] IPMI: add pigeonpoint poweroff
Bela Lubkin wrote:
> Andrew Morton wrote:
>
>>> Sometime, please go through the IPMI code looking for all these
>>> statically-allocated things which are initialised to 0 or NULL and remove
>>> all those intialisations? They're unneeded, they increase the vmlinux
>>> image size and there are quite a number of them. Thanks.
>
> Randy Dunlop replied:
>
>> I was just about to send that patch. Here it is,
>> on top of the series-of-12.
> ...
>> -static int bt_debug = BT_DEBUG_OFF;
>> +static int bt_debug;
>
> Is it wise to significantly degrade code readability to work around a minor
> compiler / linker bug?
Is that the only one that is a problem?
I don't think it's a problem. We *know* that static data areas
are init to 0. Everything depends on that. If that didn't work
it would all break.
I could say that it's a nice coincidence that BT_DEBUG_OFF == 0,
but I think that it's more than coincidence.
--
~Randy
-
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