linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [BUILD_FAILURE]  2.6.29-rc3 : drivers/ata/sata_sil.c
       [not found] <alpine.LFD.2.00.0901281120460.3123@localhost.localdomain>
@ 2009-01-29  9:28 ` Sachin P. Sant
  0 siblings, 0 replies; only message in thread
From: Sachin P. Sant @ 2009-01-29  9:28 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: jgarzik, linux-ide

[-- Attachment #1: Type: text/plain, Size: 859 bytes --]

2.6.29-rc3 with allmodconfig breaks with following message


 CALL    arch/powerpc/kernel/systbl_chk.sh
 CALL    arch/powerpc/kernel/prom_init_check.sh
 LD [M]  drivers/ata/libata.o
 CC [M]  drivers/ata/sata_sil.o
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
make[2]: *** [drivers/ata/sata_sil.o] Error 1
make[1]: *** [drivers/ata] Error 2
make: *** [drivers] Error 2

Probably needs to include <linux/dmi.h>. The following patch fixes it.

Signed-off-by : Sachin Sant <sachinp@in.ibm.com>

---


-- 

---------------------------------
Sachin Sant
IBM Linux Technology Center
India Systems and Technology Labs
Bangalore, India
---------------------------------


[-- Attachment #2: fix-ata-build-break.patch --]
[-- Type: text/x-patch, Size: 486 bytes --]

* Fix ata build break (undefined dmi_first_match symbol)

Signed-off-by : Sachin Sant<sachinp@in.ibm.com>
---

diff -Naurp a/drivers/ata/sata_sil.c b/drivers/ata/sata_sil.c
--- a/drivers/ata/sata_sil.c	2009-01-29 00:19:30.000000000 +0530
+++ b/drivers/ata/sata_sil.c	2009-01-29 17:15:03.000000000 +0530
@@ -44,6 +44,7 @@
 #include <linux/device.h>
 #include <scsi/scsi_host.h>
 #include <linux/libata.h>
+#include <linux/dmi.h>
 
 #define DRV_NAME	"sata_sil"
 #define DRV_VERSION	"2.4"

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-01-29  9:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <alpine.LFD.2.00.0901281120460.3123@localhost.localdomain>
2009-01-29  9:28 ` [BUILD_FAILURE] 2.6.29-rc3 : drivers/ata/sata_sil.c Sachin P. Sant

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).