Re: sysfs file creation result nightmare (WAS radeonfb: Fixsysfs_create_bin_file warnings)

From: Benjamin Herrenschmidt
Date: Sat Dec 09 2006 - 15:54:32 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/