From: Salyzyn, Mark Date: Tue, 9 Aug 2005 16:57:58 +0000 (-0400) Subject: [SCSI] dpt_i2o pci_request_regions fix X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5bb8345db8f2aef367e0fddf99a42b7a6029b31f;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git [SCSI] dpt_i2o pci_request_regions fix Originally From: Andrew Morton Altered By: "Salyzyn, Mark" There is an additional 'build fix' patch that Andrew Morton submitted on the kernel list (I have changed out his dpr_i2o with dpt_i2o below though). Signed-off-by: Andrew Morton Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/dpt_i2o.c b/drivers/scsi/dpt_i2o.c index bc7b84c95db..7235f94f119 100644 --- a/drivers/scsi/dpt_i2o.c +++ b/drivers/scsi/dpt_i2o.c @@ -907,7 +907,7 @@ static int adpt_install_hba(struct scsi_host_template* sht, struct pci_dev* pDev raptorFlag = TRUE; } - if (pci_request_regions(pDev)) { + if (pci_request_regions(pDev, "dpt_i2o")) { PERROR("dpti: adpt_config_hba: pci request region failed\n"); return -EINVAL; }