From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: linux-ide@vger.kernel.org, linux-next@vger.kernel.org,
Linux/m68k <linux-m68k@vger.kernel.org>
Subject: Re: [m68k] drivers/ide/ide-taskfile.c:235: error: implicit declaration of function 'sg_page'
Date: Sun, 15 Jun 2008 16:50:32 +0200 [thread overview]
Message-ID: <200806151650.33323.bzolnier@gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0806151538160.5736@anakin>
Hi,
On Sunday 15 June 2008, Geert Uytterhoeven wrote:
> Hi Bart,
>
> As of June 12, drivers/ide/ide-taskfile.c fails to compile on m68k in
> linux-next:
>
> | drivers/ide/ide-taskfile.c:235: error: implicit declaration of function 'sg_page'
> | drivers/ide/ide-taskfile.c:251: error: implicit declaration of function 'sg_next'
> | distcc[17810] ERROR: compile drivers/ide/ide-taskfile.c on localhost failed
> | make[3]: *** [drivers/ide/ide-taskfile.o] Error 1
>
> http://kisskb.ellerman.id.au/kisskb/buildresult/31729/
>
> I suspect http://git.kernel.org/?p=linux/kernel/git/sfr/linux-next.git;a=commitdiff;h=52cc802c0f45d8c15b20025e0fecf84174797307 is too blame:
>
> | ide: remove needless includes from ide-taskfile.c
>
> | -#include <linux/scatterlist.h>
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> As ide-taskfile.c uses scatterlists, it should include <linux/scatterlist.h>.
Yep, obvious bug (sorry for it), fixed in IDE tree now.
From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Subject: [PATCH] ide: remove needless includes from ide-taskfile.c (take 2)
v2:
On Sunday 15 June 2008, Geert Uytterhoeven wrote:
> As ide-taskfile.c uses scatterlists, it should include <linux/scatterlist.h>.
(v1 broke IDE build on m68k, thanks to Geert for finding the bug)
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---
drivers/ide/ide-taskfile.c | 10 ----------
1 file changed, 10 deletions(-)
Index: b/drivers/ide/ide-taskfile.c
===================================================================
--- a/drivers/ide/ide-taskfile.c
+++ b/drivers/ide/ide-taskfile.c
@@ -8,28 +8,18 @@
* The big the bad and the ugly.
*/
-#include <linux/module.h>
#include <linux/types.h>
#include <linux/string.h>
#include <linux/kernel.h>
-#include <linux/timer.h>
-#include <linux/mm.h>
#include <linux/sched.h>
#include <linux/interrupt.h>
-#include <linux/major.h>
#include <linux/errno.h>
-#include <linux/genhd.h>
-#include <linux/blkpg.h>
#include <linux/slab.h>
-#include <linux/pci.h>
#include <linux/delay.h>
#include <linux/hdreg.h>
#include <linux/ide.h>
-#include <linux/bitops.h>
#include <linux/scatterlist.h>
-#include <asm/byteorder.h>
-#include <asm/irq.h>
#include <asm/uaccess.h>
#include <asm/io.h>
prev parent reply other threads:[~2008-06-15 14:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-15 13:43 [m68k] drivers/ide/ide-taskfile.c:235: error: implicit declaration of function 'sg_page' Geert Uytterhoeven
2008-06-15 14:50 ` Bartlomiej Zolnierkiewicz [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=200806151650.33323.bzolnier@gmail.com \
--to=bzolnier@gmail.com \
--cc=geert@linux-m68k.org \
--cc=linux-ide@vger.kernel.org \
--cc=linux-m68k@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
/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.