From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60707) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSnJ6-0007oP-Gy for qemu-devel@nongnu.org; Wed, 05 Jul 2017 12:37:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dSnJ5-00039e-Sg for qemu-devel@nongnu.org; Wed, 05 Jul 2017 12:37:40 -0400 Date: Wed, 5 Jul 2017 18:37:30 +0200 From: Kevin Wolf Message-ID: <20170705163730.GE5297@noname.redhat.com> References: <20170627192458.15519-1-eblake@redhat.com> <20170627192458.15519-10-eblake@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170627192458.15519-10-eblake@redhat.com> Subject: Re: [Qemu-devel] [PATCH v3 09/20] mirror: Update signature of mirror_clip_sectors() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: qemu-devel@nongnu.org, qemu-block@nongnu.org, jsnow@redhat.com, Jeff Cody , Max Reitz Am 27.06.2017 um 21:24 hat Eric Blake geschrieben: > Rather than having a void function that modifies its input > in-place as the output, change the signature to reduce a layer > of indirection and return the result. > > Suggested-by: John Snow > Signed-off-by: Eric Blake > Reviewed-by: John Snow Reviewed-by: Kevin Wolf