X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fscsi%2Fwd33c93.c;h=9341703dee008cf0f7ef7311be99451e2c18a604;hb=0dd4b21f517e138ea113db255645fbae1bf5eef3;hp=fb53eeaee617b62fc453058879b795ea729859ac;hpb=94bc2be31a01a3055ec94176e595dfe208e92d3b;p=linux-2.6 diff --git a/drivers/scsi/wd33c93.c b/drivers/scsi/wd33c93.c index fb53eeaee6..9341703dee 100644 --- a/drivers/scsi/wd33c93.c +++ b/drivers/scsi/wd33c93.c @@ -78,8 +78,8 @@ #include #include #include +#include #include -#include #include #include @@ -1701,7 +1701,7 @@ wd33c93_abort(struct scsi_cmnd * cmd) } #define MAX_WD33C93_HOSTS 4 -#define MAX_SETUP_ARGS ((int)(sizeof(setup_args) / sizeof(char *))) +#define MAX_SETUP_ARGS ARRAY_SIZE(setup_args) #define SETUP_BUFFER_SIZE 200 static char setup_buffer[SETUP_BUFFER_SIZE]; static char setup_used[MAX_SETUP_ARGS];