2017-07-13 22:13:46

by Colin King

[permalink] [raw]
Subject: [PATCH] IB/hfi1: fix spelling mistake in variable name continious

From: Colin Ian King <[email protected]>

Trivial fix to spelling mistake, rename variable 'continious'
to the correct spelling 'continuous'

Signed-off-by: Colin Ian King <[email protected]>
---
drivers/infiniband/hw/hfi1/chip.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/infiniband/hw/hfi1/chip.c b/drivers/infiniband/hw/hfi1/chip.c
index 937350d9deab..9527c68143cc 100644
--- a/drivers/infiniband/hw/hfi1/chip.c
+++ b/drivers/infiniband/hw/hfi1/chip.c
@@ -7333,7 +7333,7 @@ void handle_verify_cap(struct work_struct *work)
struct hfi1_devdata *dd = ppd->dd;
u64 reg;
u8 power_management;
- u8 continious;
+ u8 continuous;
u8 vcu;
u8 vau;
u8 z;
@@ -7352,7 +7352,7 @@ void handle_verify_cap(struct work_struct *work)
lcb_shutdown(dd, 0);
adjust_lcb_for_fpga_serdes(dd);

- read_vc_remote_phy(dd, &power_management, &continious);
+ read_vc_remote_phy(dd, &power_management, &continuous);
read_vc_remote_fabric(dd, &vau, &z, &vcu, &vl15buf,
&partner_supported_crc);
read_vc_remote_link_width(dd, &remote_tx_rate, &link_widths);
@@ -7366,7 +7366,7 @@ void handle_verify_cap(struct work_struct *work)
get_link_widths(dd, &active_tx, &active_rx);
dd_dev_info(dd,
"Peer PHY: power management 0x%x, continuous updates 0x%x\n",
- (int)power_management, (int)continious);
+ (int)power_management, (int)continuous);
dd_dev_info(dd,
"Peer Fabric: vAU %d, Z %d, vCU %d, vl15 credits 0x%x, CRC sizes 0x%x\n",
(int)vau, (int)z, (int)vcu, (int)vl15buf,
--
2.11.0


2017-07-14 03:27:45

by Dennis Dalessandro

[permalink] [raw]
Subject: Re: [PATCH] IB/hfi1: fix spelling mistake in variable name continious

On 7/13/2017 6:13 PM, Colin King wrote:
> From: Colin Ian King <[email protected]>
>
> Trivial fix to spelling mistake, rename variable 'continious'
> to the correct spelling 'continuous'
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---

Thanks!

Acked-by: Dennis Dalessandro <[email protected]>

2017-08-18 15:29:54

by Doug Ledford

[permalink] [raw]
Subject: Re: [PATCH] IB/hfi1: fix spelling mistake in variable name continious

On Thu, 2017-07-13 at 23:27 -0400, Dennis Dalessandro wrote:
> On 7/13/2017 6:13 PM, Colin King wrote:
> > From: Colin Ian King <[email protected]>
> >
> > Trivial fix to spelling mistake, rename variable 'continious'
> > to the correct spelling 'continuous'
> >
> > Signed-off-by: Colin Ian King <[email protected]>
> > ---
>
> Thanks!
>
> Acked-by: Dennis Dalessandro <[email protected]>

Thanks, applied.

--
Doug Ledford <[email protected]>
GPG KeyID: B826A3330E572FDD
Key fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD