linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next:  ide/m68k build failure
@ 2008-07-08 12:55 Stephen Rothwell
  2008-07-08 17:45 ` Bartlomiej Zolnierkiewicz
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Rothwell @ 2008-07-08 12:55 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz; +Cc: linux-next, Geert Uytterhoeven

Hi Bart,

Today's linux-next build (m68k defconfig) failed like this:

drivers/ide/legacy/falconide.c:120: error: 'NODEV' undeclared (first use in this function)

Caused by commit 6c99c52c52e6a1532b502df89a6cffe19626d295 ("ide: add
ide_host_free() helper").

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>

diff --git a/drivers/ide/legacy/falconide.c b/drivers/ide/legacy/falconide.c
index f8394cc..724f950 100644
--- a/drivers/ide/legacy/falconide.c
+++ b/drivers/ide/legacy/falconide.c
@@ -117,7 +117,7 @@ static int __init falconide_init(void)
 	int rc;
 
 	if (!MACH_IS_ATARI || !ATARIHW_PRESENT(IDE))
-		return -NODEV;
+		return -ENODEV;
 
 	printk(KERN_INFO "ide: Falcon IDE controller\n");
 

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

P.S. untested but pretty obvious.

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: linux-next:  ide/m68k build failure
  2008-07-08 12:55 linux-next: ide/m68k build failure Stephen Rothwell
@ 2008-07-08 17:45 ` Bartlomiej Zolnierkiewicz
  0 siblings, 0 replies; 2+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2008-07-08 17:45 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: linux-next, Geert Uytterhoeven

On Tuesday 08 July 2008, Stephen Rothwell wrote:
> Hi Bart,
> 
> Today's linux-next build (m68k defconfig) failed like this:
> 
> drivers/ide/legacy/falconide.c:120: error: 'NODEV' undeclared (first use in this function)
> 
> Caused by commit 6c99c52c52e6a1532b502df89a6cffe19626d295 ("ide: add
> ide_host_free() helper").
> 
> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>

thanks, integrated with the guilty patch

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-07-08 18:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-08 12:55 linux-next: ide/m68k build failure Stephen Rothwell
2008-07-08 17:45 ` Bartlomiej Zolnierkiewicz

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).