* PCI Hotplug and Linux 2.5.4-pre2
@ 2002-02-07 18:17 John Weber
2002-02-07 18:23 ` Greg KH
2002-02-07 18:32 ` Brian Strand
0 siblings, 2 replies; 4+ messages in thread
From: John Weber @ 2002-02-07 18:17 UTC (permalink / raw)
To: linux-kernel
I can't find the definition of pcihpfs_fs_type used in
pci_hotplug_core.c in register_filesystem(), unregister_filesystem(),
and kern_mount(). This is causing a compilation error.
PS - I don't use this in my kernel, so I can disable it from my
config without penalty. But seeing as I don't see any posts
about this on LKML, should I try to build kernels with everything
enabled in the future (just to get these small errors stomped out
quickly)?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: PCI Hotplug and Linux 2.5.4-pre2
2002-02-07 18:17 PCI Hotplug and Linux 2.5.4-pre2 John Weber
@ 2002-02-07 18:23 ` Greg KH
2002-02-07 18:32 ` Brian Strand
1 sibling, 0 replies; 4+ messages in thread
From: Greg KH @ 2002-02-07 18:23 UTC (permalink / raw)
To: John Weber; +Cc: linux-kernel, viro
On Thu, Feb 07, 2002 at 01:17:15PM -0500, John Weber wrote:
> I can't find the definition of pcihpfs_fs_type used in
> pci_hotplug_core.c in register_filesystem(), unregister_filesystem(),
> and kern_mount(). This is causing a compilation error.
Here's the fix, I'll send it on.
thanks,
greg k-h
diff -Nru a/drivers/hotplug/pci_hotplug_core.c b/drivers/hotplug/pci_hotplug_core.c
--- a/drivers/hotplug/pci_hotplug_core.c Thu Feb 7 10:22:25 2002
+++ b/drivers/hotplug/pci_hotplug_core.c Thu Feb 7 10:22:25 2002
@@ -414,7 +414,7 @@
}
spin_unlock (&mount_lock);
- mnt = kern_mount (&pcihpfs_fs_type);
+ mnt = kern_mount (&pcihpfs_type);
if (IS_ERR(mnt)) {
err ("could not mount the fs...erroring out!\n");
return -ENODEV;
@@ -1139,7 +1139,7 @@
spin_lock_init(&list_lock);
dbg("registering filesystem.\n");
- result = register_filesystem(&pcihpfs_fs_type);
+ result = register_filesystem(&pcihpfs_type);
if (result) {
err("register_filesystem failed with %d\n", result);
goto exit;
@@ -1153,7 +1153,7 @@
static void __exit pci_hotplug_exit (void)
{
- unregister_filesystem(&pcihpfs_fs_type);
+ unregister_filesystem(&pcihpfs_type);
}
module_init(pci_hotplug_init);
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: PCI Hotplug and Linux 2.5.4-pre2
2002-02-07 18:17 PCI Hotplug and Linux 2.5.4-pre2 John Weber
2002-02-07 18:23 ` Greg KH
@ 2002-02-07 18:32 ` Brian Strand
2002-02-07 18:50 ` Dave Jones
1 sibling, 1 reply; 4+ messages in thread
From: Brian Strand @ 2002-02-07 18:32 UTC (permalink / raw)
To: John Weber; +Cc: lkml
John Weber wrote:
> I can't find the definition of pcihpfs_fs_type used in
> pci_hotplug_core.c in register_filesystem(), unregister_filesystem(),
> and kern_mount(). This is causing a compilation error.
>
> PS - I don't use this in my kernel, so I can disable it from my
> config without penalty. But seeing as I don't see any posts
> about this on LKML, should I try to build kernels with everything
> enabled in the future (just to get these small errors stomped out
> quickly)?
I vote yes; I always turn on as many modularizable chunks as possible,
to increase "compile coverage". And we all know if it compiles, it
works, right?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: PCI Hotplug and Linux 2.5.4-pre2
2002-02-07 18:32 ` Brian Strand
@ 2002-02-07 18:50 ` Dave Jones
0 siblings, 0 replies; 4+ messages in thread
From: Dave Jones @ 2002-02-07 18:50 UTC (permalink / raw)
To: Brian Strand; +Cc: John Weber, lkml
On Thu, Feb 07, 2002 at 10:32:17AM -0800, Brian Strand wrote:
> I vote yes; I always turn on as many modularizable chunks as possible,
> to increase "compile coverage". And we all know if it compiles, it
> works, right?
I hope that was sarcasm 8-) Some things such as the NCR5380 'fixes'
in Linus tree have put the driver into a state where it compiles and
maybe even runs, but it's almost guaranteed to corrupt. There's
a more complete set of fixes for some of these problems in my tree,
but alas, doesn't compile..
Numerous other bio related problems have been reported and had
'quick fixes' offered for them which turn out to be worse than
a non-compiling driver.
--
| Dave Jones. http://www.codemonkey.org.uk
| SuSE Labs
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-02-07 18:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-07 18:17 PCI Hotplug and Linux 2.5.4-pre2 John Weber
2002-02-07 18:23 ` Greg KH
2002-02-07 18:32 ` Brian Strand
2002-02-07 18:50 ` Dave Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox