[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [qemu-s390x] [PATCH v4 2/3] s390x/sclp: clean up sclp masks
From: |
Cornelia Huck |
Subject: |
Re: [qemu-s390x] [PATCH v4 2/3] s390x/sclp: clean up sclp masks |
Date: |
Tue, 6 Mar 2018 16:27:18 +0100 |
On Fri, 23 Feb 2018 18:42:57 +0100
Claudio Imbrenda <address@hidden> wrote:
> Introduce an sccb_mask_t to be used for SCLP event masks instead of just
> unsigned int or uint32_t. This will allow later to extend the mask with
> more ease.
>
> Signed-off-by: Claudio Imbrenda <address@hidden>
> ---
> hw/char/sclpconsole-lm.c | 4 ++--
> hw/char/sclpconsole.c | 4 ++--
> hw/s390x/event-facility.c | 20 ++++++++++----------
> hw/s390x/sclpcpu.c | 4 ++--
> hw/s390x/sclpquiesce.c | 4 ++--
> include/hw/s390x/event-facility.h | 22 +++++++++++++---------
> 6 files changed, 31 insertions(+), 27 deletions(-)
>
> @@ -177,10 +181,10 @@ typedef struct SCLPEventClass {
> int (*exit)(SCLPEvent *event);
>
> /* get SCLP's send mask */
> - unsigned int (*get_send_mask)(void);
> + sccb_mask_t (*get_send_mask)(void);
>
> /* get SCLP's receive mask */
> - unsigned int (*get_receive_mask)(void);
> + sccb_mask_t (*get_receive_mask)(void);
>
> int (*read_event_data)(SCLPEvent *event, EventBufferHeader *evt_buf_hdr,
> int *slen);
This gained a context conflict (trivial to fix, no need to resend.)