OSDN Git Service

hw/vfio/ccw: Replace DO_UPCAST(S390CCWDevice) by S390_CCW_DEVICE()
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 13 Feb 2023 17:01:43 +0000 (18:01 +0100)
committerThomas Huth <thuth@redhat.com>
Mon, 27 Feb 2023 08:15:38 +0000 (09:15 +0100)
commit0cea1f62a872c22af362acab05beb947a1fdee77
treeb3629933eaed182c830d78ab09e2bed69c8892b6
parent011da22c5c53910239e7c13394bdeca90c729b09
hw/vfio/ccw: Replace DO_UPCAST(S390CCWDevice) by S390_CCW_DEVICE()

Use the S390_CCW_DEVICE() QOM type-checking macro to avoid DO_UPCAST().

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230213170145.45666-5-philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
hw/vfio/ccw.c