Received: from eggs.gnu.org ([2001:4830:134:3::10]:43797) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpBBi-0004M6-Mr for qemu-devel@nongnu.org; Mon, 04 May 2015 03:53:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YpBBd-0003qL-Tb for qemu-devel@nongnu.org; Mon, 04 May 2015 03:53:14 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59465) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpBBd-0003qG-MT for qemu-devel@nongnu.org; Mon, 04 May 2015 03:53:09 -0400 From: Markus Armbruster References: <1430683444-9797-1-git-send-email-peter.maydell@linaro.org> Date: Mon, 04 May 2015 09:53:05 +0200 In-Reply-To: <1430683444-9797-1-git-send-email-peter.maydell@linaro.org> (Peter Maydell's message of "Sun, 3 May 2015 21:04:04 +0100") Message-ID: <87wq0ohj8e.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH] hw/sd: Don't pass BlockBackend to sd_reset() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: qemu-devel@nongnu.org, patches@linaro.org Peter Maydell writes: > The only valid BlockBackend to pass to sd_reset() is the one for > the SD card, which is sd->blk. Drop the second argument from this > function in favour of having it just use sd->blk. > > Signed-off-by: Peter Maydell > --- > A minor cleanup that was lurking in the omap3 tree (where it's > used to allow SD card controllers to reset the card, which is > something I haven't yet figured out the legitimacy of...) Reviewed-by: Markus Armbruster