From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Thu, 19 Aug 2010 18:33:40 +0200 Subject: [U-Boot] [PATCH] Disaligned buffer in print_buffer In-Reply-To: <201008191136.00765.vapier@gentoo.org> References: <1282215718-2910-1-git-send-email-sbabic@denx.de> <201008191136.00765.vapier@gentoo.org> Message-ID: <4C6D5CE4.3090408@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Mike Frysinger wrote: > On Thursday, August 19, 2010 07:01:58 Stefano Babic wrote: >> - uint8_t linebuf[MAX_LINE_LENGTH_BYTES + 1]; >> + uint8_t linebuf[MAX_LINE_LENGTH_BYTES + 1] >> __attribute__((__aligned__(4))); > > i'd rather we go with Albert Aribaud's change (posted 14 Aug 2010) > -mike Ok, I have missed someone else went in the same trouble ! Wolfgang, could you apply Albert's patch to the mainline ? As I see in the discussion, the patch proposed is accepted because _attribute__((__aligned__())) is everywhere used in u-boot. Stefano -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================