From: Date: Sun, 17 Apr 2005 21:32:42 +0000 (-0500) Subject: qla2xxx: fix compiler warning in qla_attr.c X-Git-Tag: v2.6.12-rc3~30 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7aaef27bafdfa10351726a1d383bdde33422072c;p=linux-2.6 qla2xxx: fix compiler warning in qla_attr.c CC [M] drivers/scsi/qla2xxx/qla_attr.o drivers/scsi/qla2xxx/qla_attr.c: In function `qla2x00_sysfs_write_fw_dump': drivers/scsi/qla2xxx/qla_attr.c:65: warning: implicit declaration of function `vfree' drivers/scsi/qla2xxx/qla_attr.c:83: warning: implicit declaration of function `vmalloc' drivers/scsi/qla2xxx/qla_attr.c:83: warning: cast to pointer from integer of different size Also remove spurious inclusion of linux/version.h Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/qla2xxx/qla_attr.c b/drivers/scsi/qla2xxx/qla_attr.c index 56770fac4d..2240a0cde5 100644 --- a/drivers/scsi/qla2xxx/qla_attr.c +++ b/drivers/scsi/qla2xxx/qla_attr.c @@ -18,7 +18,7 @@ */ #include "qla_def.h" -#include +#include #include /* SYSFS attributes --------------------------------------------------------- */