qemu-trivial
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] ppc/ppc405_boards: Remove unnecessary NULL check


From: Peter Maydell
Subject: Re: [PATCH] ppc/ppc405_boards: Remove unnecessary NULL check
Date: Sun, 22 Mar 2020 10:06:13 +0000

On Sun, 22 Mar 2020 at 08:50, David Gibson <address@hidden> wrote:
>
> On Fri, Mar 20, 2020 at 04:57:40PM +0100, Philippe Mathieu-Daudé wrote:
> > This code is inside the "if (dinfo)" condition, so testing
> > again here whether it is NULL is unnecessary.
> >
> > Fixes: dd59bcae7 (Don't size flash memory to match backing image)
> > Reported-by: Coverity (CID 1421917)
> > Suggested-by: Peter Maydell <address@hidden>
> > Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
>
> Applied to ppc-for-5.1.

This would be OK for 5.0 too at this stage.

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]