• 's avatar
    qla2xxx: fix compiler warning in qla_attr.c · 7aaef27b
    authored
      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: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
    7aaef27b
qla_attr.c 8.37 KB