From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Tue, 10 Jun 2014 10:00:05 -0600 Subject: [U-Boot] [PATCH] mmc: return meaningful error codes from mmc_select_hwpart In-Reply-To: References: <1400870826-14589-1-git-send-email-swarren@wwwdotorg.org> Message-ID: <53972B85.2030308@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 06/02/2014 12:18 AM, Pantelis Antoniou wrote: > On May 23, 2014, at 9:47 PM, Stephen Warren wrote: >> Rather than just returning -1 everywhere, try to return something >> meaningful from mmc_select_hwpart(). Note that most other MMC functions >> don't do this, including functions called from mmc_select_hwpart(), so >> I'm not sure how effective this will be. Still, it's one less place with >> hard-coded -1. ... > This does indeed look good. ... > Acked-by: Pantelis Antoniou Are you intending to apply this patch, or were you expecting someone else to?