diff mbox series

[TRIVIAL] phb4: Fix bad whitespace

Message ID 20170905045932.22106-1-ruscur@russell.cc
State Accepted
Headers show
Series [TRIVIAL] phb4: Fix bad whitespace | expand

Commit Message

Russell Currey Sept. 5, 2017, 4:59 a.m. UTC
Cc: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Russell Currey <ruscur@russell.cc>
---
 hw/phb4.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Andrew Jeffery Sept. 5, 2017, 5:02 a.m. UTC | #1
On Tue, 2017-09-05 at 14:59 +1000, Russell Currey wrote:
> > Cc: Andrew Jeffery <andrew@aj.id.au>
> Signed-off-by: Russell Currey <ruscur@russell.cc>

Unfortunately I can't fault this.

Reviewed-by: Andrew Jeffery <andrew@aj.id.au>

> ---
>  hw/phb4.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/hw/phb4.c b/hw/phb4.c
> index a49f9db0..dcc6c8b6 100644
> --- a/hw/phb4.c
> +++ b/hw/phb4.c
> @@ -2046,7 +2046,7 @@ static int64_t phb4_set_pe(struct phb *phb,
> >  			for (idx = 0; idx < RTT_TABLE_ENTRIES; idx++)
> >  				p->rte_cache[idx] = pe_number;
> >  		} else {
> > -			for ( idx = 0; idx < ARRAY_SIZE(p->rte_cache); idx++)
> > +			for (idx = 0; idx < ARRAY_SIZE(p->rte_cache); idx++)
> >  				p->rte_cache[idx] = PHB4_RESERVED_PE_NUM(p);
> >  		}
> >  		memcpy((void *)p->tbl_rtt, p->rte_cache, RTT_TABLE_SIZE);
Stewart Smith Sept. 5, 2017, 5:26 a.m. UTC | #2
Russell Currey <ruscur@russell.cc> writes:
> Cc: Andrew Jeffery <andrew@aj.id.au>
> Signed-off-by: Russell Currey <ruscur@russell.cc>
> ---
>  hw/phb4.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Dear Sir,

Please find that I have merged your critical patch as of the skiboot
tree state represented by the fine revision of
18559c7e9b2c702f89ceaae9c46434ecaffad9ec.

Yours Sincerely,
diff mbox series

Patch

diff --git a/hw/phb4.c b/hw/phb4.c
index a49f9db0..dcc6c8b6 100644
--- a/hw/phb4.c
+++ b/hw/phb4.c
@@ -2046,7 +2046,7 @@  static int64_t phb4_set_pe(struct phb *phb,
 			for (idx = 0; idx < RTT_TABLE_ENTRIES; idx++)
 				p->rte_cache[idx] = pe_number;
 		} else {
-			for ( idx = 0; idx < ARRAY_SIZE(p->rte_cache); idx++)
+			for (idx = 0; idx < ARRAY_SIZE(p->rte_cache); idx++)
 				p->rte_cache[idx] = PHB4_RESERVED_PE_NUM(p);
 		}
 		memcpy((void *)p->tbl_rtt, p->rte_cache, RTT_TABLE_SIZE);