[Top][All Lists]

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

Re: [qemu-s390x] [PATCH] s390/ipl: cast to SCSIDevice directly

From: Cornelia Huck
Subject: Re: [qemu-s390x] [PATCH] s390/ipl: cast to SCSIDevice directly
Date: Fri, 3 May 2019 10:09:12 +0200

On Thu,  2 May 2019 17:55:16 +0200
Cornelia Huck <address@hidden> wrote:

> Coverity notes that the result of object_dynamic_cast() to
> SCSIDevice is not checked in s390_gen_initial_iplp(); as
> we know that we always have a SCSIDevice in that branch,
> we can instead cast via SCSI_DEVICE directly.
> Coverity: CID 1401098
> Fixes: 44445d8668f4 ("s390 vfio-ccw: Add bootindex property and IPLB data")
> Signed-off-by: Cornelia Huck <address@hidden>
> ---
>  hw/s390x/ipl.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)

Queued to s390-next.

reply via email to

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