All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] ppc4xx: Fix include sequence in 4xx_pcie.c
Date: Fri, 11 Jul 2008 13:17:24 +0200	[thread overview]
Message-ID: <200807111317.24296.sr@denx.de> (raw)
In-Reply-To: <200807101206.00572.sr@denx.de>

Hi Wolfgang,

On Thursday 10 July 2008, Stefan Roese wrote:
> > Hm. I think we have a serious problem when the correctness of the code
> > depends on the include order. It seems that include/asm-ppc/types.h
> > depends on CONFIG_PHYS_64BIT, so include/asm-ppc/types.h must make
> > sure this variable is set correctly, i. e. we should include common.h
> > there.
>
> Yes, I though too that this problem might affect other files too. But
> unfortunately including common.h from within asm/types.h does not work
> since common.h includes (and needs) types.h itself.
>
> I have no elegant solution to handle this in a more generic way right now.
> Perhaps somebody else has? Ideas welcome. :)

Since nobody has come up with a better idea, I suggest we push the current fix 
for now. Same reason as the USB shutdown patch that you pulled even though it 
is not perfect.

Should I put it in my repo and send a pull request?

Best regards,
Stefan

=====================================================================
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
=====================================================================

      reply	other threads:[~2008-07-11 11:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-10  9:38 [U-Boot-Users] [PATCH] ppc4xx: Fix include sequence in 4xx_pcie.c Stefan Roese
2008-07-10  9:46 ` Wolfgang Denk
2008-07-10 10:06   ` Stefan Roese
2008-07-11 11:17     ` Stefan Roese [this message]

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=200807111317.24296.sr@denx.de \
    --to=sr@denx.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.