RE: drivers/dma/ioatdma.c - address of '__this_module' will always evaluate as 'true' , warning

From: Nelson, Shannon
Date: Mon Jul 23 2007 - 12:08:35 EST


Gabriel C [mailto:nix.or.die@xxxxxxxxxxxxxx]
>
>Hi,
>
>I got this warning on current git using gcc 4.2.1 :
>
>...
>
>drivers/dma/ioatdma.c: In function 'ioat_init_module':
>drivers/dma/ioatdma.c:816: warning: the address of
>'__this_module' will always evaluate as 'true'

Can you forward a copy of your .config?

sln
--
======================================================================
Mr. Shannon Nelson LAN Access Division, Intel Corp.
Shannon.Nelson@xxxxxxxxx I don't speak for Intel
(503) 712-7659 Parents can't afford to be squeamish.
-
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/