Messages in this thread Patch in this message | | | Date | Mon, 13 Oct 2003 12:15:59 -0400 (EDT) | From | Rik van Riel <> | Subject | Re: [PATCH][TRIVIAL] advansys compile fixes |
| |
On Mon, 13 Oct 2003, Dave Jones wrote:
> Might as well lose the #else whilst we are at it.
Good point. Fixed patch below.
# This is a BitKeeper generated patch for the following project: # Project Name: Linux kernel tree # This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas: # ChangeSet 1.1189 -> 1.1190 # drivers/scsi/advansys.c 1.9 -> 1.10 # # The following is the BitKeeper ChangeSet Log # -------------------------------------------- # 03/10/13 riel@mirkwood.surriel.com 1.1190 # fix some advansys.c compile warnings # -------------------------------------------- # diff -Nru a/drivers/scsi/advansys.c b/drivers/scsi/advansys.c --- a/drivers/scsi/advansys.c Mon Oct 13 12:15:49 2003 +++ b/drivers/scsi/advansys.c Mon Oct 13 12:15:49 2003 @@ -5551,7 +5551,7 @@ } } else { ADV_CARR_T *carrp; - int req_cnt; + int req_cnt=0; adv_req_t *reqp = NULL; int sg_cnt = 0;
@@ -9257,8 +9257,6 @@ PCI_DEVFN(ASC_PCI_ID2DEV(asc_dvc->cfg->pci_slot_info), 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/
| |