* [BK PATCH] PCI Hotplug changes for 2.5.25
@ 2002-07-07 19:33 Greg KH
2002-07-07 19:43 ` Greg KH
0 siblings, 1 reply; 4+ messages in thread
From: Greg KH @ 2002-07-07 19:33 UTC (permalink / raw)
To: torvalds; +Cc: linux-kernel
Pull from: bk://linuxusb.bkbits.net/pci_hp-2.5
drivers/hotplug/pci_hotplug_core.c | 5 ++++-
drivers/hotplug/pci_hotplug_util.c | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
------
ChangeSet@1.630, 2002-07-07 11:32:52-07:00, greg@kroah.com
PCI Hotplug: fix the dbg() macro to work properly on older versions of gcc
drivers/hotplug/pci_hotplug_core.c | 2 +-
drivers/hotplug/pci_hotplug_util.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
------
ChangeSet@1.629, 2002-07-07 11:28:15-07:00, greg@kroah.com
PCI Hotplug: fix i_nlink for root inode in pcihpfs
drivers/hotplug/pci_hotplug_core.c | 3 +++
1 files changed, 3 insertions(+)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [BK PATCH] PCI Hotplug changes for 2.5.25
2002-07-07 19:33 [BK PATCH] PCI Hotplug changes for 2.5.25 Greg KH
@ 2002-07-07 19:43 ` Greg KH
2002-07-07 19:44 ` Greg KH
2002-07-07 20:00 ` Diego Calleja
0 siblings, 2 replies; 4+ messages in thread
From: Greg KH @ 2002-07-07 19:43 UTC (permalink / raw)
To: linux-kernel
For those people without BK, I'm including the patches here, like I've
been doing with the USB patches. They are also all available in my
kernel.org directory if you don't like patches through email :)
greg k-h
# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.628 -> 1.629
# drivers/hotplug/pci_hotplug_core.c 1.17 -> 1.18
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/07/07 greg@kroah.com 1.629
# PCI Hotplug: fix i_nlink for root inode in pcihpfs
# --------------------------------------------
#
diff -Nru a/drivers/hotplug/pci_hotplug_core.c b/drivers/hotplug/pci_hotplug_core.c
--- a/drivers/hotplug/pci_hotplug_core.c Sun Jul 7 12:24:42 2002
+++ b/drivers/hotplug/pci_hotplug_core.c Sun Jul 7 12:24:42 2002
@@ -109,6 +109,9 @@
case S_IFDIR:
inode->i_op = &pcihpfs_dir_inode_operations;
inode->i_fop = &simple_dir_operations;
+
+ /* directory inodes start off with i_nlink == 2 (for "." entry) */
+ inode->i_nlink++;
break;
}
}
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [BK PATCH] PCI Hotplug changes for 2.5.25
2002-07-07 19:43 ` Greg KH
@ 2002-07-07 19:44 ` Greg KH
2002-07-07 20:00 ` Diego Calleja
1 sibling, 0 replies; 4+ messages in thread
From: Greg KH @ 2002-07-07 19:44 UTC (permalink / raw)
To: linux-kernel
# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.629 -> 1.630
# drivers/hotplug/pci_hotplug_core.c 1.18 -> 1.19
# drivers/hotplug/pci_hotplug_util.c 1.2 -> 1.3
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/07/07 greg@kroah.com 1.630
# PCI Hotplug: fix the dbg() macro to work properly on older versions of gcc
# --------------------------------------------
#
diff -Nru a/drivers/hotplug/pci_hotplug_core.c b/drivers/hotplug/pci_hotplug_core.c
--- a/drivers/hotplug/pci_hotplug_core.c Sun Jul 7 12:24:35 2002
+++ b/drivers/hotplug/pci_hotplug_core.c Sun Jul 7 12:24:35 2002
@@ -48,7 +48,7 @@
#define MY_NAME THIS_MODULE->name
#endif
-#define dbg(fmt, arg...) do { if (debug) printk(KERN_DEBUG "%s: %s: " fmt, MY_NAME, __FUNCTION__, ## arg); } while (0)
+#define dbg(fmt, arg...) do { if (debug) printk(KERN_DEBUG "%s: %s: " fmt , MY_NAME , __FUNCTION__ , ## arg); } while (0)
#define err(format, arg...) printk(KERN_ERR "%s: " format , MY_NAME , ## arg)
#define info(format, arg...) printk(KERN_INFO "%s: " format , MY_NAME , ## arg)
#define warn(format, arg...) printk(KERN_WARNING "%s: " format , MY_NAME , ## arg)
diff -Nru a/drivers/hotplug/pci_hotplug_util.c b/drivers/hotplug/pci_hotplug_util.c
--- a/drivers/hotplug/pci_hotplug_util.c Sun Jul 7 12:24:35 2002
+++ b/drivers/hotplug/pci_hotplug_util.c Sun Jul 7 12:24:35 2002
@@ -41,7 +41,7 @@
#define MY_NAME THIS_MODULE->name
#endif
-#define dbg(fmt, arg...) do { if (debug) printk(KERN_DEBUG "%s: %s: " fmt, MY_NAME, __FUNCTION__, ## arg); } while (0)
+#define dbg(fmt, arg...) do { if (debug) printk(KERN_DEBUG "%s: %s: " fmt , MY_NAME , __FUNCTION__ , ## arg); } while (0)
#define err(format, arg...) printk(KERN_ERR "%s: " format , MY_NAME , ## arg)
#define info(format, arg...) printk(KERN_INFO "%s: " format , MY_NAME , ## arg)
#define warn(format, arg...) printk(KERN_WARNING "%s: " format , MY_NAME , ## arg)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [BK PATCH] PCI Hotplug changes for 2.5.25
2002-07-07 19:43 ` Greg KH
2002-07-07 19:44 ` Greg KH
@ 2002-07-07 20:00 ` Diego Calleja
1 sibling, 0 replies; 4+ messages in thread
From: Diego Calleja @ 2002-07-07 20:00 UTC (permalink / raw)
To: linux-kernel
On Sun, 7 Jul 2002 12:43:25 -0700
Greg KH <greg@kroah.com> escribió:
>
> For those people without BK, I'm including the patches here, like I've
> been doing with the USB patches. They are also all available in my
> kernel.org directory if you don't like patches through email :)
Thank you very much. Some people don't use -and they don't want to use
it- bitkeeper.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-07-07 19:55 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-07 19:33 [BK PATCH] PCI Hotplug changes for 2.5.25 Greg KH
2002-07-07 19:43 ` Greg KH
2002-07-07 19:44 ` Greg KH
2002-07-07 20:00 ` Diego Calleja
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.