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

Nelson, Shannon
2007-07-23T19:17:42Z

Gabriel C [mailto:nix.or.die@googlemail.com]
>Nelson, Shannon wrote:
>> Gabriel C [mailto:nix.or.die@googlemail.com]
>>> 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@intel.com I don't speak for Intel
(503) 712-7659 Parents can't afford to be squeamish.