From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Wed, 03 Sep 2014 10:52:14 -0600 Subject: [U-Boot] [PATCH v2] env_mmc: correct fini partition to match init partition In-Reply-To: <1409761938-27902-1-git-send-email-pab@pabigot.com> References: <1409700683-25393-2-git-send-email-pab@pabigot.com> <1409761938-27902-1-git-send-email-pab@pabigot.com> Message-ID: <5407473E.2000909@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 09/03/2014 10:32 AM, Peter A. Bigot wrote: > The code to set the MMC partition uses an weak function to obtain the > correct partition number. Use that instead of the compile-time default > when deciding whether it needs to switch back. Yes, this clearly fixes a bug. Can you also please add a Fixes: tag that refers to the commit which introduced the problem (i.e. which updated mmc_set_env_part() to call mmc_get_env_part(), but forgot to update fini_mmc_for_env() to match.