From mboxrd@z Thu Jan 1 00:00:00 1970 From: Siarhei Siamashka Date: Wed, 23 Jul 2014 20:29:41 +0300 Subject: [U-Boot] [PATCH 01/12] sunxi: mksunxiboot: Fix loading of files with a size which is not a multiple of 4 In-Reply-To: <1401441556.15871.58.camel@hastur.hellion.org.uk> References: <1401440772-7462-1-git-send-email-hdegoede@redhat.com> <1401440772-7462-2-git-send-email-hdegoede@redhat.com> <1401441556.15871.58.camel@hastur.hellion.org.uk> Message-ID: <20140723202941.61ec15e7@i7> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, 30 May 2014 10:19:16 +0100 Ian Campbell wrote: > On Fri, 2014-05-30 at 11:06 +0200, Hans de Goede wrote: > > We should not be aligning the amount of bytes which we try to read from the > > disk, this leads to trying to read more bytes then there are which fails. > > > > file_size is already aligned to BLOCK_SIZE before being stored in > > img.header.length, so there is no need for load_size at all. > > > > Signed-off-by: Hans de Goede > > Acked-by: Ian Campbell Acked-by: Siarhei Siamashka Was there any valid reason why this important bugfix has not been nominated for v2014.07? -- Best regards, Siarhei Siamashka