Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758971AbYLKXZU (ORCPT ); Thu, 11 Dec 2008 18:25:20 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757154AbYLKXZF (ORCPT ); Thu, 11 Dec 2008 18:25:05 -0500 Received: from sj-iport-6.cisco.com ([171.71.176.117]:6570 "EHLO sj-iport-6.cisco.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757072AbYLKXZD (ORCPT ); Thu, 11 Dec 2008 18:25:03 -0500 X-IronPort-AV: E=Sophos;i="4.36,207,1228089600"; d="scan'208";a="211424313" From: Roland Dreier To: Andrew Morton Cc: Al Viro , Nguyen Anh Quynh , LKML , Kuniyasu Suzaki Subject: Re: [PATCH] fix calls to request_module() References: <9cde8bff0812101935j5ef56140k67035d892a868738@mail.gmail.com> <20081211040118.GK28946@ZenIV.linux.org.uk> <20081210201455.0c611484.akpm@linux-foundation.org> <20081211044901.GL28946@ZenIV.linux.org.uk> <20081210214142.9e7b2298.akpm@linux-foundation.org> X-Message-Flag: Warning: May contain useful information Date: Thu, 11 Dec 2008 15:25:01 -0800 In-Reply-To: <20081210214142.9e7b2298.akpm@linux-foundation.org> (Andrew Morton's message of "Wed, 10 Dec 2008 21:41:42 -0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OriginalArrivalTime: 11 Dec 2008 23:25:01.0992 (UTC) FILETIME=[B0E1A280:01C95BE7] Authentication-Results: sj-dkim-4; header.From=rdreier@cisco.com; dkim=pass ( sig from cisco.com/sjdkim4002 verified; ); Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 646 Lines: 17 > I wonder if we could add a printk_stfu() which isn't declared > attribute(printf) and which simply calls printk. We might still get a > single warning at the interface point. That would fix the class of warnings like printk(char_pointer_gcc_doesnt_know_is_safe); but therre are alsofunctions like device_create() etc etc where someone could easily and legitimately do the same thing. - R. -- 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/