[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [qemu-s390x] [PATCH 06/15] s390-bios: Clean up cio.h
From: |
Cornelia Huck |
Subject: |
Re: [qemu-s390x] [PATCH 06/15] s390-bios: Clean up cio.h |
Date: |
Mon, 4 Feb 2019 11:48:01 +0100 |
On Tue, 29 Jan 2019 08:29:13 -0500
"Jason J. Herne" <address@hidden> wrote:
> Add proper typedefs to all structs and modify all bit fields to use consistent
> formatting.
>
> Signed-off-by: Jason J. Herne <address@hidden>
> Reviewed-by: Collin Walling <address@hidden>
> ---
> pc-bios/s390-ccw/cio.h | 86
> ++++++++++++++++++++++-----------------------
> pc-bios/s390-ccw/s390-ccw.h | 8 -----
> 2 files changed, 43 insertions(+), 51 deletions(-)
>
> diff --git a/pc-bios/s390-ccw/cio.h b/pc-bios/s390-ccw/cio.h
> index 1a0795f..a48eee5 100644
> --- a/pc-bios/s390-ccw/cio.h
> +++ b/pc-bios/s390-ccw/cio.h
> @@ -53,12 +53,12 @@ struct schib_config {
> __u64 mba;
> __u32 intparm;
> __u16 mbi;
> - __u32 isc:3;
> - __u32 ena:1;
> - __u32 mme:2;
> - __u32 mp:1;
> - __u32 csense:1;
> - __u32 mbfc:1;
> + __u32 isc : 3;
> + __u32 ena : 1;
> + __u32 mme : 2;
> + __u32 mp : 1;
> + __u32 csense : 1;
> + __u32 mbfc : 1;
> } __attribute__ ((packed));
This seems to make checkpatch unhappy... maybe consolidate to the other
formatting instead?
- Re: [qemu-s390x] [PATCH 06/15] s390-bios: Clean up cio.h,
Cornelia Huck <=