[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] monitor: Fix gva2gpa coverityism
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH] monitor: Fix gva2gpa coverityism |
Date: |
Wed, 15 May 2019 11:38:25 +0100 |
User-agent: |
Mutt/1.11.4 (2019-03-13) |
On Fri, May 10, 2019 at 08:01:40PM +0100, Dr. David Alan Gilbert (git) wrote:
> From: "Dr. David Alan Gilbert" <address@hidden>
>
> Coverity is complaining that while I'm checking the return
> value of mon_get_cpu(), I'm not actually using the checked value,
> I'm calling it again and thus it's worried I might get null;
> I don't think that's actually possible since i'm under
> lock anyway.
> However, it's a sensible cleanup.
>
> CID: 1401346
>
> Signed-off-by: Dr. David Alan Gilbert <address@hidden>
> ---
> monitor.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Stefan Hajnoczi <address@hidden>
signature.asc
Description: PGP signature