OSDN Git Service

hw/s390x/event-facility: Replace DO_UPCAST(SCLPEvent) by SCLP_EVENT()
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Sun, 12 Feb 2023 22:51:40 +0000 (23:51 +0100)
committerThomas Huth <thuth@redhat.com>
Tue, 14 Feb 2023 08:11:27 +0000 (09:11 +0100)
commitb1d1d468cabfa800950e1ecb6006df619687c269
tree85089aab813e01873f39c8fde0a72a9b5d4a56e5
parent1b0e9b9be18210406c9296055cc7f38c6efc26fd
hw/s390x/event-facility: Replace DO_UPCAST(SCLPEvent) by SCLP_EVENT()

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

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230212225144.58660-16-philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Eric Farman <farman@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
hw/s390x/event-facility.c