public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* inode.c Compile Error
@ 2002-02-07 15:15 Benjamin Pharr
  2002-02-07 16:05 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Benjamin Pharr @ 2002-02-07 15:15 UTC (permalink / raw)
  To: linux-kernel

I got the following error when trying to compile 2.5.4-pre2:

gcc -D__KERNEL__ -I/usr/src/linux-2.5.4-pre2/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=i686    -c -o inode.o inode.c
inode.c: In function `usb_get_sb':
inode.c:528: `usb_fill_super' undeclared (first use in this function)
inode.c:528: (Each undeclared identifier is reported only once
inode.c:528: for each function it appears in.)
inode.c: At top level:
inode.c:368: warning: `usbfs_fill_super' defined but not used
make[3]: *** [inode.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.5.4-pre2/drivers/usb'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.5.4-pre2/drivers/usb'
make[1]: *** [_subdir_usb] Error 2
make[1]: Leaving directory `/usr/src/linux-2.5.4-pre2/drivers'
make: *** [_dir_drivers] Error 2
benix:/usr/src/linux-2.5.4-pre2# 

Ben Pharr
ben@benpharr.com


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

* Re: inode.c Compile Error
  2002-02-07 15:15 inode.c Compile Error Benjamin Pharr
@ 2002-02-07 16:05 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2002-02-07 16:05 UTC (permalink / raw)
  To: Benjamin Pharr; +Cc: linux-kernel, linux-usb-devel

On Thu, Feb 07, 2002 at 09:15:18AM -0600, Benjamin Pharr wrote:
> I got the following error when trying to compile 2.5.4-pre2:

This patch fixes this.  I'll send it upstream later today.

thanks,

greg k-h


diff -Nru a/drivers/usb/inode.c b/drivers/usb/inode.c
--- a/drivers/usb/inode.c	Thu Feb  7 08:08:34 2002
+++ b/drivers/usb/inode.c	Thu Feb  7 08:08:34 2002
@@ -525,7 +525,7 @@
 static struct super_block *usb_get_sb(struct file_system_type *fs_type,
 	int flags, char *dev_name, void *data)
 {
-	return get_sb_single(fs_type, flags, data, usb_fill_super);
+	return get_sb_single(fs_type, flags, data, usbfs_fill_super);
 }
 
 static struct file_system_type usbdevice_fs_type = {

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

end of thread, other threads:[~2002-02-07 16:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-07 15:15 inode.c Compile Error Benjamin Pharr
2002-02-07 16:05 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox