[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080126102650.GE20935@hacking>
Date: Sat, 26 Jan 2008 18:26:51 +0800
From: WANG Cong <xiyou.wangcong@...il.com>
To: Sam Ravnborg <sam@...nborg.org>
Cc: WANG Cong <xiyou.wangcong@...il.com>, Greg KH <gregkh@...e.de>,
LKML <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...l.org>
Subject: Re: [Patch] Shut up warnings from files under drivers/
>
>Looking a bit closer the above is rubbish.
>We have:
>#if defined(MODULE) || defined(CONFIG_HOTPLUG)
>#define __devexit_p(x) x
>#else
>#define __devexit_p(x) NULL
>
>so the pointer to the function is used in
>both cases.
I think in the latter case, 'x' is not used, just
as gcc told me. ;)
>
>Could you drop me the config that produces the warning
>and the warning message.
>
Of course. Attached.
Regards.
View attachment "my-config.txt" of type "text/plain" (28887 bytes)
Powered by blists - more mailing lists