linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.5.7 hfs modules compil error
@ 2002-03-18 21:52 Gregoire Favre
  2002-03-18 23:25 ` [PATCH] " Brian Gerst
  0 siblings, 1 reply; 2+ messages in thread
From: Gregoire Favre @ 2002-03-18 21:52 UTC (permalink / raw)
  To: linux-kernel

Hello,

gcc -D__KERNEL__ -I/usr/src/linux-2.5/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE
-DKBUILD_BASENAME=super  -c -o super.o super.c
super.c: In function `hfs_fill_super':
super.c:536: `sb' undeclared (first use in this function)
super.c:536: (Each undeclared identifier is reported only once
super.c:536: for each function it appears in.)
make[2]: *** [super.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.5/fs/hfs'
make[1]: *** [_modsubdir_hfs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.5/fs'
make: *** [_mod_fs] Error 2
178.340u 10.190s 3:15.77 96.3%  0+0k 0+0io 189688pf+0w
Exit 2

Thanks you very much,

	Grégoire
________________________________________________________________
http://ulima.unil.ch/greg ICQ:16624071 mailto:greg@ulima.unil.ch

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

* [PATCH] Re: 2.5.7 hfs modules compil error
  2002-03-18 21:52 2.5.7 hfs modules compil error Gregoire Favre
@ 2002-03-18 23:25 ` Brian Gerst
  0 siblings, 0 replies; 2+ messages in thread
From: Brian Gerst @ 2002-03-18 23:25 UTC (permalink / raw)
  To: Gregoire Favre; +Cc: linux-kernel, Linus Torvalds

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

Gregoire Favre wrote:
> Hello,
> 
> gcc -D__KERNEL__ -I/usr/src/linux-2.5/include -Wall -Wstrict-prototypes
> -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
> -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE
> -DKBUILD_BASENAME=super  -c -o super.o super.c
> super.c: In function `hfs_fill_super':
> super.c:536: `sb' undeclared (first use in this function)

Typo fixed.

-- 

						Brian Gerst

[-- Attachment #2: sb-hfs-2 --]
[-- Type: text/plain, Size: 319 bytes --]

diff -urN linux-2.5.7/fs/hfs/super.c linux/fs/hfs/super.c
--- linux-2.5.7/fs/hfs/super.c	Mon Mar 18 16:14:15 2002
+++ linux/fs/hfs/super.c	Mon Mar 18 17:06:11 2002
@@ -533,7 +533,7 @@
 	set_blocksize(dev, BLOCK_SIZE);
 bail3:
 	kfree(sbi);
-	sb->u.generic_sbp = NULL;
+	s->u.generic_sbp = NULL;
 	return -EINVAL;	
 }
 

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

end of thread, other threads:[~2002-03-18 23:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-18 21:52 2.5.7 hfs modules compil error Gregoire Favre
2002-03-18 23:25 ` [PATCH] " Brian Gerst

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