Received: from eggs.gnu.org ([2001:4830:134:3::10]:40096) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqIJa-0003rx-Uf for qemu-devel@nongnu.org; Wed, 13 Apr 2016 06:46:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aqIJX-0000ew-Nq for qemu-devel@nongnu.org; Wed, 13 Apr 2016 06:46:30 -0400 Received: from e06smtp14.uk.ibm.com ([195.75.94.110]:46038) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqIJX-0000eR-Do for qemu-devel@nongnu.org; Wed, 13 Apr 2016 06:46:27 -0400 Received: from localhost by e06smtp14.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 13 Apr 2016 11:46:23 +0100 Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by d06dlp03.portsmouth.uk.ibm.com (Postfix) with ESMTP id 4BD641B0804B for ; Wed, 13 Apr 2016 11:46:48 +0100 (BST) Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u3DAk69L23855142 for ; Wed, 13 Apr 2016 10:46:06 GMT Received: from d06av02.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u3DAk6Jf030589 for ; Wed, 13 Apr 2016 04:46:06 -0600 Date: Wed, 13 Apr 2016 12:46:04 +0200 From: Cornelia Huck Message-ID: <20160413124604.30561590.cornelia.huck@de.ibm.com> In-Reply-To: References: <1460485534-6116-1-git-send-email-nutanshinde1992@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 4/5] Change return type of functions that are named *_exit or *_exitfn in hw/s390x from int to void List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Nutan Shinde Cc: QEMU Developers , borntraeger@de.ibm.com, agraf@suse.de, pbonzini@redhat.com On Tue, 12 Apr 2016 23:57:06 +0530 Nutan Shinde wrote: > This change is required because the return type of exit(error) function is > not used. > This patch only has changes for files in hw/s390x package. Some meta-notes (I saw the related discussion on qemu-devel; the comments there apply to this patch as well): - The change is not 'required'. It's a cleanup because everybody returns 0 anyway. - It often makes sense to cc: everybody on the cover letter so they can find out what the series is about without needing to dig it up on the mailing list. - A patch series needs to preserve bisectability, i.e. at every point in the series the code must compile. To achieve this, it often makes sense to split out self-contained changes restricted to a component (here: changes following from VirtIOCCWDeviceClass changes) from whole-tree changes (here: changes following from DeviceClass). > > Signed-off-by: Nutan Shinde > --- > hw/s390x/virtio-ccw.c | 7 +++---- > hw/s390x/virtio-ccw.h | 2 +- > 2 files changed, 4 insertions(+), 5 deletions(-)