Messages in this thread Patch in this message | | | Date | Mon, 13 Oct 2003 11:52:02 -0400 (EDT) | From | Rik van Riel <> | Subject | [PATCH][TRIVIAL] advansys compile fixes |
| |
- initialise req_cnt variable in advansys_detect() - DvcAdvWritePCIConfigByte() is a void function
diff -urNp linux-5110/drivers/scsi/advansys.c linux-10010/drivers/scsi/advansys.c --- linux-5110/drivers/scsi/advansys.c +++ linux-10010/drivers/scsi/advansys.c @@ -5551,7 +5551,7 @@ advansys_detect(Scsi_Host_Template *tpnt } } else { ADV_CARR_T *carrp; - int req_cnt; + int req_cnt=0; adv_req_t *reqp = NULL; int sg_cnt = 0;
@@ -9258,7 +9258,6 @@ DvcAdvWritePCIConfigByte( ASC_PCI_ID2FUNC(asc_dvc->cfg->pci_slot_info)), offset, byte_data); #else /* CONFIG_PCI */ - return 0; #endif /* CONFIG_PCI */ }
- 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/
| |