Re: [PATCH 03/13] ppc440: Add a macro to shorten PCIe controller DCR registration

2023-07-04 Thread Philippe Mathieu-Daudé
On 4/7/23 11:33, BALATON Zoltan wrote: On Tue, 4 Jul 2023, Philippe Mathieu-Daudé wrote: On 4/7/23 00:02, BALATON Zoltan wrote: It is more readable to wrap the complex call to ppc_dcr_register in a macro when needed repeatedly. Signed-off-by: BALATON Zoltan ---   hw/ppc/ppc440_uc.c | 76 +

Re: [PATCH 03/13] ppc440: Add a macro to shorten PCIe controller DCR registration

2023-07-04 Thread BALATON Zoltan
On Tue, 4 Jul 2023, Philippe Mathieu-Daudé wrote: On 4/7/23 00:02, BALATON Zoltan wrote: It is more readable to wrap the complex call to ppc_dcr_register in a macro when needed repeatedly. Signed-off-by: BALATON Zoltan --- hw/ppc/ppc440_uc.c | 76 +

Re: [PATCH 03/13] ppc440: Add a macro to shorten PCIe controller DCR registration

2023-07-04 Thread Philippe Mathieu-Daudé
On 4/7/23 00:02, BALATON Zoltan wrote: It is more readable to wrap the complex call to ppc_dcr_register in a macro when needed repeatedly. Signed-off-by: BALATON Zoltan --- hw/ppc/ppc440_uc.c | 76 +- 1 file changed, 28 insertions(+), 48 deletions(

[PATCH 03/13] ppc440: Add a macro to shorten PCIe controller DCR registration

2023-07-03 Thread BALATON Zoltan
It is more readable to wrap the complex call to ppc_dcr_register in a macro when needed repeatedly. Signed-off-by: BALATON Zoltan --- hw/ppc/ppc440_uc.c | 76 +- 1 file changed, 28 insertions(+), 48 deletions(-) diff --git a/hw/ppc/ppc440_uc.c b/hw/pp