public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Ho Lee <flyduck@linuxkernel.net>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] Fix for MPC8260 IMMAP structure
Date: Tue, 25 May 2004 11:07:44 -0700	[thread overview]
Message-ID: <012c01c44283$2df0a0b0$1502a8c0@corp.skystream.com> (raw)

Hi, 

I found a trivial misalignment in MPC8260 IMMAP structure. It is not harmful in
normal environment, but the problem reveals if the structure is packed. 

Sincerely,
Ho

--------------------------------------------------

diff -urN u-boot-1.1.1.orig/include/asm-ppc/immap_8260.h u-boot-1.1.1/include/asm-ppc/immap_8260.h
--- u-boot-1.1.1.orig/include/asm-ppc/immap_8260.h 2004-04-18 14:45:45.000000000 -0700
+++ u-boot-1.1.1/include/asm-ppc/immap_8260.h 2004-05-25 10:54:23.000000000 -0700
@@ -519,7 +519,7 @@
 
  fcc_t  im_fcc[3]; /* Three FCCs */
 
- char  res4[159];
+ char  res4[160];
 
  /* First set of baud rate generators.
  */

             reply	other threads:[~2004-05-25 18:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-25 18:07 Ho Lee [this message]
2004-06-09 15:11 ` [U-Boot-Users] [PATCH] Fix for MPC8260 IMMAP structure Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='012c01c44283$2df0a0b0$1502a8c0@corp.skystream.com' \
    --to=flyduck@linuxkernel.net \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox