All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jeff@garzik.org>
To: Mikael Pettersson <mikpe@it.uu.se>
Cc: Konstantinos Margaritis <markos@codex.gr>,
	linux-ide@vger.kernel.org,
	Lennert Buytenhek <buytenh@wantstofly.org>,
	Lennart Sorensen <lsorense@csclub.uwaterloo.ca>
Subject: Re: [PATCH] fix sata_sil compilation on non-DMI platforms
Date: Fri, 15 May 2009 13:49:16 -0400	[thread overview]
Message-ID: <4A0DAB1C.6060404@garzik.org> (raw)
In-Reply-To: <18957.19954.594210.891282@pilspetsen.it.uu.se>

Mikael Pettersson wrote:
> Ok I've checked now, and the breakage is that the commit referenced
> above added dmi stuff to sata_sil.c without an #include <linux/dmi.h>,
> and that broke !x86 builds:

Great!  Thanks for checking.


> drivers/ata/sata_sil.c: In function 'sil_broken_system_poweroff':
> drivers/ata/sata_sil.c:713: error: implicit declaration of function 'dmi_first_match'
> drivers/ata/sata_sil.c:713: warning: initialization makes pointer from integer without a cast
> 
> x86 builds work because they drag in dmi.h indirectly via some other header.
> 
> The follow-up commit 1737ef7598d3515fdc11cb9ba7e054f334404e04
> "sata_sil: Fix build breakage" added #include <linux/dmi.h> which
> made !x86 builds work again. 2.6.29-rc3 was released in the window
> between these two commits so it had this build breakage.
> 
> So the problem is not that <linux/dmi.h> doesn't work, but that
> someone apparently backported e57db7bde7bff95ae812736ca00c73bd5271455b
> to 2.6.27 but not 1737ef7598d3515fdc11cb9ba7e054f334404e04.

OK, so it sounds like upstream is OK, and 2.6.27.x needs 
1737ef7598d3515fdc11cb9ba7e054f334404e04

Thanks,

	Jeff




  reply	other threads:[~2009-05-15 17:49 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-06 17:09 [PATCH] fix sata_sil compilation on non-DMI platforms Konstantinos Margaritis
2009-05-11 18:12 ` Jeff Garzik
2009-05-11 18:23   ` Lennert Buytenhek
2009-05-11 18:44   ` Alan Cox
2009-05-11 18:44     ` Alan Cox
2009-05-11 22:31     ` Benjamin Herrenschmidt
2009-05-11 19:30   ` Lennart Sorensen
2009-05-12  9:09   ` Mikael Pettersson
2009-05-12  9:26     ` Jeff Garzik
2009-05-15 11:11       ` Mikael Pettersson
2009-05-15 17:49         ` Jeff Garzik [this message]
2009-05-15 22:46           ` Mikael Pettersson

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=4A0DAB1C.6060404@garzik.org \
    --to=jeff@garzik.org \
    --cc=buytenh@wantstofly.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=lsorense@csclub.uwaterloo.ca \
    --cc=markos@codex.gr \
    --cc=mikpe@it.uu.se \
    /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.