Message ID | 1559923710-11923-1-git-send-email-arbab@linux.ibm.com |
---|---|
State | Accepted |
Headers | show |
Series | [1/2] npu2: Fix typo | expand |
Context | Check | Description |
---|---|---|
snowpatch_ozlabs/apply_patch | success | Successfully applied on branch master (db3929ee4f0a98596938f05da2789686908ebfd4) |
snowpatch_ozlabs/snowpatch_job_snowpatch-skiboot | fail | Test snowpatch/job/snowpatch-skiboot on branch master |
snowpatch_ozlabs/snowpatch_job_snowpatch-skiboot-dco | success | Signed-off-by present |
On 08/06/2019 02:08, Reza Arbab wrote: > Change "brigde" to "bridge". > > Fixes: 68d11e4460ec ("npu2: Reset NVLinks when resetting a GPU") > Signed-off-by: Reza Arbab <arbab@linux.ibm.com> Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru> > --- > 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; > } > } >
Reza Arbab <arbab@linux.ibm.com> writes: > Change "brigde" to "bridge". > > Fixes: 68d11e4460ec ("npu2: Reset NVLinks when resetting a GPU") > Signed-off-by: Reza Arbab <arbab@linux.ibm.com> Thanks, merged to master as of 3386550f51745c618eb8936090699becf4dd0775
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; } }
Change "brigde" to "bridge". Fixes: 68d11e4460ec ("npu2: Reset NVLinks when resetting a GPU") Signed-off-by: Reza Arbab <arbab@linux.ibm.com> --- hw/npu2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)