Re: drivers/scsi/sym53c416.c - address of 'sym53c416*' will alwaysevaluate as 'true' , warnings

From: Gabriel C
Date: Sun Jul 22 2007 - 12:40:38 EST


Matthew Wilcox wrote:
> On Sun, Jul 22, 2007 at 03:52:21PM +0200, Gabriel C wrote:
>> drivers/scsi/sym53c416.c: In function 'sym53c416_detect':
>> drivers/scsi/sym53c416.c:638: warning: the address of 'sym53c416' will always evaluate as 'true'
>> drivers/scsi/sym53c416.c:644: warning: the address of 'sym53c416_1' will always evaluate as 'true'
>> drivers/scsi/sym53c416.c:650: warning: the address of 'sym53c416_2' will always evaluate as 'true'
>> drivers/scsi/sym53c416.c:656: warning: the address of 'sym53c416_3' will always evaluate as 'true'
>
> These warnings certainly indicate a problem; I've looked through the
> driver and it's a bit of a mess. Do you have one of these cards? I can
> write and send you some patches to test on Monday or Tuesday, after I'm
> done with the advansys driver.
>

Sorry , I don't have these cards :/


Regards,

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