diff options
author | <jejb@titanic.il.steeleye.com> | 2005-04-17 16:32:42 -0500 |
---|---|---|
committer | James Bottomley <jejb@titanic> | 2005-04-18 13:51:37 -0500 |
commit | 7aaef27bafdfa10351726a1d383bdde33422072c (patch) | |
tree | 3c6247d74ea748285ad58d1a299dcacbdca5bd7c /drivers/scsi/qla2xxx/qla_attr.c | |
parent | dea3101e0a5c897d2c9351a7444e139db9f40247 (diff) | |
download | kernel_samsung_espresso10-7aaef27bafdfa10351726a1d383bdde33422072c.zip kernel_samsung_espresso10-7aaef27bafdfa10351726a1d383bdde33422072c.tar.gz kernel_samsung_espresso10-7aaef27bafdfa10351726a1d383bdde33422072c.tar.bz2 |
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 <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_attr.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_attr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_attr.c b/drivers/scsi/qla2xxx/qla_attr.c index 56770fa..2240a0c 100644 --- a/drivers/scsi/qla2xxx/qla_attr.c +++ b/drivers/scsi/qla2xxx/qla_attr.c @@ -18,7 +18,7 @@ */ #include "qla_def.h" -#include <linux/version.h> +#include <linux/vmalloc.h> #include <scsi/scsi_transport_fc.h> /* SYSFS attributes --------------------------------------------------------- */ |