tree 3c6247d74ea748285ad58d1a299dcacbdca5bd7c parent dea3101e0a5c897d2c9351a7444e139db9f40247 author <[EMAIL PROTECTED]> Mon, 18 Apr 2005 02:32:42 -0500 committer James Bottomley <[EMAIL PROTECTED]> Mon, 18 Apr 2005 23:51:37 -0500
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 <[EMAIL PROTECTED]> scsi/qla2xxx/qla_attr.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: drivers/scsi/qla2xxx/qla_attr.c =================================================================== --- 61de19e98eed08bb760703b362eab2038c34f261/drivers/scsi/qla2xxx/qla_attr.c (mode:100644 sha1:56770fac4d143c55e617953764c0a6a9fa67aee0) +++ 3c6247d74ea748285ad58d1a299dcacbdca5bd7c/drivers/scsi/qla2xxx/qla_attr.c (mode:100644 sha1:2240a0cde583d6c62279adc35b9b269377aeb4c5) @@ -18,7 +18,7 @@ */ #include "qla_def.h" -#include <linux/version.h> +#include <linux/vmalloc.h> #include <scsi/scsi_transport_fc.h> /* SYSFS attributes --------------------------------------------------------- */ - To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
