Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932235AbZAQUFF (ORCPT ); Sat, 17 Jan 2009 15:05:05 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754720AbZAQUEw (ORCPT ); Sat, 17 Jan 2009 15:04:52 -0500 Received: from terminus.zytor.com ([198.137.202.10]:35998 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754682AbZAQUEw (ORCPT ); Sat, 17 Jan 2009 15:04:52 -0500 Message-ID: <49723912.6020108@zytor.com> Date: Sat, 17 Jan 2009 12:01:22 -0800 From: "H. Peter Anvin" User-Agent: Thunderbird 2.0.0.14 (X11/20080501) MIME-Version: 1.0 To: Ingo Molnar CC: Mikael Pettersson , linux-kernel@vger.kernel.org Subject: Re: "eliminate warn_on_slowpath()" change causes many gcc-3.2.3 warnings References: <200901171519.n0HFJZuf028704@harpo.it.uu.se> <20090117161817.GA10825@elte.hu> In-Reply-To: <20090117161817.GA10825@elte.hu> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 585 Lines: 20 Ingo Molnar wrote: > > hm, that's unfortunate. GCC seems totally on crack for not accepting a > NULL format string. > Why should it? I don't think a NULL pointer as the format to a printf-style function is well defined. -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/