[SCSI] sym53c416: fix module parameters
commitc958d767dc79250583902a382275961b5da91a4d
authorJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 11 Feb 2008 22:18:55 +0000 (11 16:18 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Tue, 12 Feb 2008 21:24:58 +0000 (12 15:24 -0600)
tree002888bdd51be14ac19d7b676c26ee4f4355063c
parente390bc0a26ba522f008a1f9479097f1c6fc0189c
[SCSI] sym53c416: fix module parameters

It looks like there's been a bug in the module parameter setup forever.
The upshot doesn't really matter, because even if no parameters are ever
set, we just call sym53c416_setup() three times, but the zero values in
the arrays eventually cause nothing to happen.  Unfortunately gcc has
started to notice this now too:

drivers/scsi/sym53c416.c: In function 'sym53c416_detect':
drivers/scsi/sym53c416.c:624: warning: the address of 'sym53c416' will always evaluate as 'true'
drivers/scsi/sym53c416.c:630: warning: the address of 'sym53c416_1' will always evaluate as 'true'
drivers/scsi/sym53c416.c:636: warning: the address of 'sym53c416_2' will always evaluate as 'true'
drivers/scsi/sym53c416.c:642: warning: the address of 'sym53c416_3' will always evaluate as 'true'

So fix this longstanding bug to keep gcc quiet.

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/sym53c416.c