From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karol Kozimor Subject: Re: [patch] remove null-ifiers Date: Tue, 27 Jan 2004 21:07:30 +0100 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <20040127200730.GA16086@hell.org.pl> References: <20040127150954.GA12740@hell.org.pl> <20040127120357.X37323@root.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Return-path: Content-Disposition: inline In-Reply-To: <20040127120357.X37323-Y6VGUYTwhu0@public.gmane.org> Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Nate Lawson Cc: Jes Sorensen , acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org List-Id: linux-acpi@vger.kernel.org Thus wrote Nate Lawson: > > We certainly *don't* want to do that, last time I checked C did not > > actually guarantee to zero out uninitialized variables -- unless it's > > different in the kernelspace. Are you sure pointers are initialized as > > NULLs? > Static variables have always been guaranteed to be initialized to 0, at > least since K&R. Right, that's what I was after -- I might have overreacted initially. The patch seems fine anyway. Best regards, -- Karol 'sziwan' Kozimor sziwan-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn