Re: [PATCH -mm] sys_semctl gcc 4.1 warning fix

From: Daniel Walker
Date: Wed May 10 2006 - 13:27:10 EST


On Wed, 2006-05-10 at 17:42 +0100, Al Viro wrote:

> s/codepath.*/bug being fixed/

There's several that aren't fixing bugs , but I still think they are
useful .

For instance, I found several drivers that defined tables used when the
driver is defined as a module, but I was compiling the driver built-in
so the table showed as "unused" .

I added

#ifdef MODULE

...

#endif /* MODULE */

How about those ?

Daniel

-
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/