From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752512AbVHGS0n (ORCPT ); Sun, 7 Aug 2005 14:26:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752515AbVHGS0n (ORCPT ); Sun, 7 Aug 2005 14:26:43 -0400 Received: from dvhart.com ([64.146.134.43]:57984 "EHLO localhost.localdomain") by vger.kernel.org with ESMTP id S1752512AbVHGS0m (ORCPT ); Sun, 7 Aug 2005 14:26:42 -0400 Date: Sun, 07 Aug 2005 11:26:45 -0700 From: "Martin J. Bligh" Reply-To: "Martin J. Bligh" To: linux-kernel Subject: Re: EXPORT_SYMBOL generates "is deprecated" noise Message-ID: <253710000.1123439204@[10.10.2.4]> In-Reply-To: <251790000.1123438079@[10.10.2.4]> References: <251790000.1123438079@[10.10.2.4]> X-Mailer: Mulberry/2.2.1 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org --"Martin J. Bligh" wrote (on Sunday, August 07, 2005 11:07:59 -0700): > I'm getting lots of errors like this nowadays: > > drivers/serial/8250.c:2651: warning: `register_serial' is deprecated > (declared at drivers/serial/8250.c:2607) > > Which is just: "EXPORT_SYMBOL(register_serial);" > > Sorry, but that's just compile-time noise, not anything useful. > Warning on real usages of it might be handy (we can go fix the users) > but not EXPORT_SYMBOL - we can't kill the export until the function > goes away. The more noise we have, the harder it is to see real errors > and warnings. > > I took a quick poke around, but can't see what generates this stuff. > What is doing these checks, and can we please make an exception for > EXPORT_SYMBOL (and EXPORT_SYMBOL_GPL) somehow? Oh, I'm being an idiot and looking at the wrong tree. It's __deprecated, but I still can't think of a clean way to locally undefine that for just EXPORT_SYMBOL. M.