Re: 2.5.44 compilation errors

From: Jens Axboe (axboe@suse.de)
Date: Sat Oct 19 2002 - 04:06:37 EST


On Sat, Oct 19 2002, haoviet@tuluc.com wrote:
> --------------------------------------------------------------------------
> drivers/scsi/qla1280.c:5932: unknown field `next' specified in initializer
> drivers/scsi/qla1280.c:5932: warning: missing braces around initializer
> drivers/scsi/qla1280.c:5932: warning: (near initialization for
> `driver_template.shtp_list')make[2]: *** [drivers/scsi/qla1280.o] Error 1
> make[1]: *** [drivers/scsi] Error 2
> make: *** [drivers] Error 2
> ----------------------------------------------------------------------------

===== drivers/scsi/qla1280.h 1.7 vs edited =====
--- 1.7/drivers/scsi/qla1280.h Mon Oct 14 19:00:37 2002
+++ edited/drivers/scsi/qla1280.h Sat Oct 19 11:05:46 2002
@@ -1324,22 +1324,12 @@
  */
 
 #define QLA1280_LINUX_TEMPLATE { \
- next: NULL, \
- module: NULL, \
- proc_dir: NULL, \
         proc_info: qla1280_proc_info, \
         name: "Qlogic ISP 1280/12160", \
         detect: qla1280_detect, \
         release: qla1280_release, \
         info: qla1280_info, \
- ioctl: NULL, \
- command: NULL, \
         queuecommand: qla1280_queuecommand, \
- eh_strategy_handler: NULL, \
- eh_abort_handler: NULL, \
- eh_device_reset_handler: NULL, \
- eh_bus_reset_handler: NULL, \
- eh_host_reset_handler: NULL, \
 /* use_new_eh_code: 0, */ \
         abort: qla1280_abort, \
         reset: qla1280_reset, \

-- 
Jens Axboe

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Oct 23 2002 - 22:00:46 EST