From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bartlomiej Zolnierkiewicz 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 Message-ID: <200806151650.33323.bzolnier@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from yw-out-2324.google.com ([74.125.46.28]:21728 "EHLO yw-out-2324.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758025AbYFOOt2 (ORCPT ); Sun, 15 Jun 2008 10:49:28 -0400 Received: by yw-out-2324.google.com with SMTP id 9so2909279ywe.1 for ; Sun, 15 Jun 2008 07:49:23 -0700 (PDT) In-Reply-To: Content-Disposition: inline Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Geert Uytterhoeven Cc: linux-ide@vger.kernel.org, linux-next@vger.kernel.org, Linux/m68k 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 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > As ide-taskfile.c uses scatterlists, it should include . Yep, obvious bug (sorry for it), fixed in IDE tree now. From: Bartlomiej Zolnierkiewicz 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 . (v1 broke IDE build on m68k, thanks to Geert for finding the bug) Cc: Geert Uytterhoeven Signed-off-by: Bartlomiej Zolnierkiewicz --- 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 #include #include #include -#include -#include #include #include -#include #include -#include -#include #include -#include #include #include #include -#include #include -#include -#include #include #include