Received: from eggs.gnu.org ([2001:4830:134:3::10]:47604) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wz1n5-0005Nl-0d for qemu-devel@nongnu.org; Mon, 23 Jun 2014 06:48:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wz1mt-0007RI-Gx for qemu-devel@nongnu.org; Mon, 23 Jun 2014 06:47:58 -0400 Received: from e06smtp10.uk.ibm.com ([195.75.94.106]:60068) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wz1mt-0007Q1-7E for qemu-devel@nongnu.org; Mon, 23 Jun 2014 06:47:47 -0400 Received: from /spool/local by e06smtp10.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 23 Jun 2014 11:47:41 +0100 Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id 7AD1A17D8056 for ; Mon, 23 Jun 2014 11:49:06 +0100 (BST) Received: from d06av12.portsmouth.uk.ibm.com (d06av12.portsmouth.uk.ibm.com [9.149.37.247]) by b06cxnps4074.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id s5NAldcG24182894 for ; Mon, 23 Jun 2014 10:47:39 GMT Received: from d06av12.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av12.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s5NAlb5d020602 for ; Mon, 23 Jun 2014 04:47:39 -0600 Date: Mon, 23 Jun 2014 12:47:31 +0200 From: Cornelia Huck Message-ID: <20140623124731.3f7d141b.cornelia.huck@de.ibm.com> In-Reply-To: <53A18BBB.7020703@linux.vnet.ibm.com> References: <1403093807-32836-1-git-send-email-jfrei@linux.vnet.ibm.com> <1403093807-32836-4-git-send-email-jfrei@linux.vnet.ibm.com> <53A18BBB.7020703@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 3/4] pc-bios/s390-ccw: fix for fragmented SCSI bootmap List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Eugene \"jno\" Dvurechenski" Cc: Christian Borntraeger , Jens Freimann , Alexander Graf , qemu-devel@nongnu.org On Wed, 18 Jun 2014 16:53:15 +0400 "Eugene \"jno\" Dvurechenski" wrote: > > > On 06/18/2014 04:16 PM, Jens Freimann wrote: > > +static inline bool unused_space(const void *p, unsigned int size) > > +{ > > + int i; > > s390-ccw.h has a def for size_t (well, it's just "long"). > So, we can use a bit more "gentile" version: > > +static inline bool unused_space(const void *p, size_t size) > +{ > + size_t i; > > Let's stick with the posted version for now. We can do further cleanup of the bios code later on.