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

Gabriel C
2007-07-23T01:18:11Z

Gabriel C wrote:
> 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'
>
> ...
>
>
> Regards,
>
> Gabriel C
>

[ uhh send it to the wrong list sorry , added LKML now ]