[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1165697597.1103.148.camel@localhost.localdomain>
Date: Sun, 10 Dec 2006 07:53:17 +1100
From: Benjamin Herrenschmidt <benh@...nel.crashing.org>
To: Muli Ben-Yehuda <muli@...ibm.com>
Cc: Jean Delvare <khali@...ux-fr.org>, Andrew Morton <akpm@...l.org>,
Paul Mackerras <paulus@...ba.org>,
Linux Kernel list <linux-kernel@...r.kernel.org>
Subject: Re: sysfs file creation result nightmare (WAS radeonfb: Fix
sysfs_create_bin_file warnings)
On Sat, 2006-12-09 at 22:22 +0200, Muli Ben-Yehuda wrote:
> On Sun, Dec 10, 2006 at 06:59:10AM +1100, Benjamin Herrenschmidt wrote:
>
> > I'd really like to have some kind of macro or attribute or whatever I
> > can put on a function call to say that I'm purposefully ignoring the
> > error. Is there some gcc magic that can do that ?
>
> (void)bla()?
Do that actually work to silence the warning ? I though it didn't...I'll
try again.
Ben.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists