From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Ball Subject: Re: [PATCH 2/3] dw_mmc: Avoid adding the number of transmitted bytes twice Date: Fri, 22 Mar 2013 12:50:51 -0400 Message-ID: <87zjxvml90.fsf@octavius.laptop.org> References: <1363085593-22214-1-git-send-email-markos.chandras@imgtec.com> <1363085593-22214-2-git-send-email-markos.chandras@imgtec.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from void.printf.net ([89.145.121.20]:38440 "EHLO void.printf.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161001Ab3CVQu5 (ORCPT ); Fri, 22 Mar 2013 12:50:57 -0400 In-Reply-To: <1363085593-22214-2-git-send-email-markos.chandras@imgtec.com> (Markos Chandras's message of "Tue, 12 Mar 2013 10:53:12 +0000") Sender: linux-mmc-owner@vger.kernel.org List-Id: linux-mmc@vger.kernel.org To: Markos Chandras Cc: linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, Seungwon Jeon , Jaehoon Chung Hi, On Tue, Mar 12 2013, Markos Chandras wrote: > Previously, it was possible to add either 0 bytes or add nbytes > twice if we broke out of the outer loop and then carry on to the > "done" label. This is now fixed by adding the transferred bytes > right after the pull/pop operation > > Signed-off-by: Markos Chandras > Cc: Seungwon Jeon > Cc: Jaehoon Chung > Cc: Chris Ball Thanks, pushed to mmc-next for 3.10. - Chris. -- Chris Ball One Laptop Per Child