Re: [PATCH] ppc/pegasos2: Improve readability of VIA south bridge creation

2023-01-18 Thread Philippe Mathieu-Daudé
On 17/1/23 22:57, BALATON Zoltan wrote: On Tue, 17 Jan 2023, BALATON Zoltan wrote: Slightly improve readability of creating the south btidge by cnamging Still left a typo in "bridge" above... Also "naming". This is alternative, inspired by Phil's patches, maybe I'd also need to add

Re: [PATCH] ppc/pegasos2: Improve readability of VIA south bridge creation

2023-01-17 Thread BALATON Zoltan
On Tue, 17 Jan 2023, BALATON Zoltan wrote: Slightly improve readability of creating the south btidge by cnamging Still left a typo in "bridge" above... This is alternative, inspired by Phil's patches, maybe I'd also need to add Inspired-by: tag. type of a local variable to avoid some casts

[PATCH] ppc/pegasos2: Improve readability of VIA south bridge creation

2023-01-17 Thread BALATON Zoltan
Slightly improve readability of creating the south btidge by cnamging type of a local variable to avoid some casts within function arguments which makes some lines shorter and easier to read. Also remove an unneded line break. Signed-off-by: BALATON Zoltan --- hw/ppc/pegasos2.c | 14