[Skiboot] [PATCH 1/2] npu2: Fix typo

Reza Arbab arbab at linux.ibm.com
Sat Jun 8 02:08:29 AEST 2019


Change "brigde" to "bridge".

Fixes: 68d11e4460ec ("npu2: Reset NVLinks when resetting a GPU")
Signed-off-by: Reza Arbab <arbab at linux.ibm.com>
---
 hw/npu2.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hw/npu2.c b/hw/npu2.c
index ee2b4b21ef40..774592911110 100644
--- a/hw/npu2.c
+++ b/hw/npu2.c
@@ -537,7 +537,7 @@ static int __npu2_dev_bind_pci_dev(struct phb *phb __unused,
 	return 0;
 }
 
-static int64_t npu2_gpu_brigde_sec_bus_reset(void *dev,
+static int64_t npu2_gpu_bridge_sec_bus_reset(void *dev,
 		struct pci_cfg_reg_filter *pcrf __unused,
 		uint32_t offset, uint32_t len,
 		uint32_t *data, bool write)
@@ -612,7 +612,7 @@ static void npu2_dev_bind_pci_dev(struct npu2_dev *dev)
 				pci_add_cfg_reg_filter(dev->nvlink.pd->parent,
 						PCI_CFG_BRCTL, 2,
 						PCI_REG_FLAG_WRITE,
-						npu2_gpu_brigde_sec_bus_reset);
+						npu2_gpu_bridge_sec_bus_reset);
 			return;
 		}
 	}
-- 
1.8.3.1



More information about the Skiboot mailing list