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

From: Nelson, Shannon
Date: Mon Jul 23 2007 - 15:17:43 EST


Gabriel C [mailto:nix.or.die@xxxxxxxxxxxxxx]
>Nelson, Shannon wrote:
>> 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?
>
>Sure , config attached.

Hmmm - never mind. It looks like the gcc folks are getting picky with
some expressions. See many other similar threads.

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/