From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Fri, 27 Aug 2010 20:24:59 +0200 Subject: [U-Boot] [PATCH] Disaligned buffer in print_buffer In-Reply-To: <4C778834.9030901@emk-elektronik.de> References: <1282215718-2910-1-git-send-email-sbabic@denx.de> <4C778834.9030901@emk-elektronik.de> Message-ID: <4C7802FB.8000306@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 Reinhard Meyer wrote: Hi Reinhard, > Why not just declare it as > uint_32t linebuf[MAX_LINE_LENGTH_BYTES/4+1]; > ? Yes, we do not need any special compiler attribute. I forward to Albert, he sent previously an analog patch to solve this issue. 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 =====================================================================