On Thu, 2019-08-01 at 22:52:51 UTC, Leonardo Bras wrote:
> I noticed these nested ifs can be easily replaced by switch-cases,
> which can improve readability.
>
> Signed-off-by: Leonardo Bras
> Reviewed-by: David Hildenbrand
Series applied to powerpc next, thanks.
https://git.kernel.org/powerp
On Fri, 2019-08-02 at 22:26 +1000, Michael Ellerman wrote:
> Leonardo Bras writes:
> > I noticed these nested ifs can be easily replaced by switch-cases,
> > which can improve readability.
> >
> > Signed-off-by: Leonardo Bras
> > ---
> > .../platforms/pseries/hotplug-memory.c| 26 ++
Leonardo Bras writes:
> I noticed these nested ifs can be easily replaced by switch-cases,
> which can improve readability.
>
> Signed-off-by: Leonardo Bras
> ---
> .../platforms/pseries/hotplug-memory.c| 26 +--
> 1 file changed, 18 insertions(+), 8 deletions(-)
Thanks,
On 02.08.19 00:52, Leonardo Bras wrote:
> I noticed these nested ifs can be easily replaced by switch-cases,
> which can improve readability.
>
> Signed-off-by: Leonardo Bras
> ---
> .../platforms/pseries/hotplug-memory.c| 26 +--
> 1 file changed, 18 insertions(+), 8 del
I noticed these nested ifs can be easily replaced by switch-cases,
which can improve readability.
Signed-off-by: Leonardo Bras
---
.../platforms/pseries/hotplug-memory.c| 26 +--
1 file changed, 18 insertions(+), 8 deletions(-)
diff --git a/arch/powerpc/platforms/pseries