[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200904212104.14665.bzolnier@gmail.com>
Date: Tue, 21 Apr 2009 21:04:14 +0200
From: Bartlomiej Zolnierkiewicz <bzolnier@...il.com>
To: subrata@...ux.vnet.ibm.com
Cc: "Linuxppc-dev" <Linuxppc-dev@...abs.org>,
Paul Mackerras <paulus@...ba.org>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Stefan Bader <stefan.bader@...onical.com>,
Marcelo Tosatti <marcelo@...ectiva.com.br>,
Adrian Bunk <bunk@...nel.org>,
Stephen Rothwell <sfr@...b.auug.org.au>,
"linux-next" <linux-next@...r.kernel.org>,
sachinp <sachinp@...ux.vnet.ibm.com>,
"linux-kernel" <linux-kernel@...r.kernel.org>,
Alexander Beregalov <a.beregalov@...il.com>
Subject: Re: [BUILD FAILURE 05/12] Next April 21 : PPC64 randconfig [drivers/macintosh/mediabay.o]
On Tuesday 21 April 2009 20:51:15 Subrata Modak wrote:
> Reported this earlier on 14th April:
> http://lkml.org/lkml/2009/4/14/490,
>
> Is there a solution available ?
Perfect timing. I was just going through overdue reports.
> CC drivers/macintosh/mediabay.o
> In file included from drivers/macintosh/mediabay.c:21:
> include/linux/ide.h:610: error: field ‘sense_rq’ has incomplete type
> make[2]: *** [drivers/macintosh/mediabay.o] Error 1
> make[1]: *** [drivers/macintosh] Error 2
> make: *** [drivers] Error 2
> ---
From: Bartlomiej Zolnierkiewicz <bzolnier@...il.com>
Subject: [PATCH] mediabay: fix build for CONFIG_BLOCK=n
On Tuesday 14 April 2009 20:31:21 Subrata Modak wrote:
> Observed the following build error:
> ---
> CC drivers/macintosh/mediabay.o
> In file included from drivers/macintosh/mediabay.c:21:
> include/linux/ide.h:605: error: field ‘request_sense_rq’ has incomplete
> type
> make[2]: *** [drivers/macintosh/mediabay.o] Error 1
> make[1]: *** [drivers/macintosh] Error 2
> make: *** [drivers] Error 2
> ---
mediabay shouldn't include <linux/ide.h> unconditionally so
remove the superfluous include from mediabay.c (<asm/mediabay.h>
will pull <linux/ide.h> in for CONFIG_BLK_DEV_IDE_PMAC=y).
Reported-by: Subrata Modak <subrata@...ux.vnet.ibm.com>
Cc: Paul Mackerras <paulus@...ba.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@...il.com>
---
drivers/macintosh/mediabay.c | 1 -
1 file changed, 1 deletion(-)
Index: b/drivers/macintosh/mediabay.c
===================================================================
--- a/drivers/macintosh/mediabay.c
+++ b/drivers/macintosh/mediabay.c
@@ -18,7 +18,6 @@
#include <linux/timer.h>
#include <linux/stddef.h>
#include <linux/init.h>
-#include <linux/ide.h>
#include <linux/kthread.h>
#include <linux/mutex.h>
#include <asm/prom.h>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists