From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Carstens Subject: Re: [PATCH 02/12] KVM: s390: define GISA format-0 data structure Date: Fri, 19 Jan 2018 11:20:39 +0100 Message-ID: <20180119102038.GC4519@osiris> References: <20180116200217.211897-1-borntraeger@de.ibm.com> <20180116200217.211897-3-borntraeger@de.ibm.com> <20180119101241.GB4519@osiris> <9f7484d1-6880-4000-ebad-b22611276810@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Christian Borntraeger , Cornelia Huck , KVM , linux-s390 , Janosch Frank , Michael Mueller To: David Hildenbrand Return-path: Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:53140 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754070AbeASKUp (ORCPT ); Fri, 19 Jan 2018 05:20:45 -0500 Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w0JAKcd1036477 for ; Fri, 19 Jan 2018 05:20:45 -0500 Received: from e06smtp14.uk.ibm.com (e06smtp14.uk.ibm.com [195.75.94.110]) by mx0a-001b2d01.pphosted.com with ESMTP id 2fkc246xar-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Fri, 19 Jan 2018 05:20:44 -0500 Received: from localhost by e06smtp14.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 19 Jan 2018 10:20:42 -0000 Content-Disposition: inline In-Reply-To: <9f7484d1-6880-4000-ebad-b22611276810@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Fri, Jan 19, 2018 at 11:17:10AM +0100, David Hildenbrand wrote: > On 19.01.2018 11:12, Heiko Carstens wrote: > > On Thu, Jan 18, 2018 at 09:47:01PM +0100, David Hildenbrand wrote: > >> Two minor things > >> > >>> > >>> +struct kvm_s390_gisa { > >>> + u32 next_alert; > >>> + u8 ipm; > >>> + u8 reserved01; > >>> + u8:6; > >> > >> Mind giving this also a reserved name > > > > And then all reserved fields have to be renamed as soon as one bit gets > > used? Please don't... > > Only if one keeps the order of the reserved field numbers ... And that's what people usually do. Therefore having unnamed bitfields is nice, since you don't have to care.