From: Detlev Zundel Date: Fri, 01 Jul 2011 15:30:45 +0200 Subject: [U-Boot] [PATCH v2 2/2] ext2: Simplify partial sector access logic In-Reply-To: <1309459537-312-3-git-send-email-robotboy@chromium.org> (Anton Staaf's message of "Thu, 30 Jun 2011 11:45:37 -0700") References: <1309459537-312-1-git-send-email-robotboy@chromium.org> <1309459537-312-3-git-send-email-robotboy@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Anton, > Previously reading zero full sectors (reading the end of one > sector and the beginning of the next for example) was special > cased and involved stack allocating a second sector buffer. This > change uses the same code path for this case as well as when there > are a non-zero number of full sectors to access. The result is > easier to read and reduces the maximum stack used. > > Signed-off-by: Anton Staaf > Cc: Andy Fleming > Cc: Detlev Zundel Acked-by: Detlev Zundel -- Of course my password is the same as my pet's name My macaw's name was Q47pY!3 and I change it every 90 days -- Trevor Linton -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de