Most of the SysBusDeviceClass variables are named sbc, and sbdc here is a bit weird, so changing sbdc to keep it consistent with others might look good.
Cc: coh...@redhat.com Cc: borntrae...@de.ibm.com Cc: r...@twiddle.net Cc: da...@redhat.com Cc: qemu-s3...@nongnu.org Signed-off-by: Mao Zhongyi <maozhon...@cmss.chinamobile.com> Signed-off-by: Zhang Shengju <zhangshen...@cmss.chinamobile.com> --- hw/s390x/event-facility.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/s390x/event-facility.c b/hw/s390x/event-facility.c index ee5b83448b..759e7bee01 100644 --- a/hw/s390x/event-facility.c +++ b/hw/s390x/event-facility.c @@ -484,8 +484,8 @@ static void reset_event_facility(DeviceState *dev) static void init_event_facility_class(ObjectClass *klass, void *data) { - SysBusDeviceClass *sbdc = SYS_BUS_DEVICE_CLASS(klass); - DeviceClass *dc = DEVICE_CLASS(sbdc); + SysBusDeviceClass *sbc = SYS_BUS_DEVICE_CLASS(klass); + DeviceClass *dc = DEVICE_CLASS(sbc); SCLPEventFacilityClass *k = EVENT_FACILITY_CLASS(dc); dc->reset = reset_event_facility; -- 2.17.1