* [GIT PATCH] driver core fixes for your 2.6-git tree
@ 2009-01-21 5:18 Greg KH
2009-01-21 5:19 ` [PATCH 1/5] driver core: Convert '/' to '!' in dev_set_name() Greg Kroah-Hartman
` (4 more replies)
0 siblings, 5 replies; 13+ messages in thread
From: Greg KH @ 2009-01-21 5:18 UTC (permalink / raw)
To: Linus Torvalds, Andrew Morton; +Cc: linux-kernel, Kay Sievers
Here are 5 bugfixes against your current kernel git tree.
They fix the following reported problems:
- klist blowing up on CRIS architecture
- some block device names showing up incorrectly due to
mishandled ! formatting
- sysfs binary file bugfix
- debugfs build breakage if it is disable and wimax is enabled.
- PNP modules not properly being autoloaded due to lowercase
issues in file2alias.c
All of these have been in the last -next release, with the majority of
them in the -next releases for the past week.
Please pull from:
master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-core-2.6.git/
The patches will be sent as a follow-on to this message to lkml for people
to see.
thanks,
greg k-h
------------
drivers/base/core.c | 6 ++++++
fs/sysfs/bin.c | 6 ++++++
include/linux/debugfs.h | 7 +++++++
include/linux/klist.h | 2 +-
scripts/mod/file2alias.c | 17 +++++++++++++++--
5 files changed, 35 insertions(+), 3 deletions(-)
---------------
Greg Kroah-Hartman (1):
sysfs: fix problems with binary files
Inaky Perez-Gonzalez (1):
debugfs: introduce stub for debugfs_create_size_t() when DEBUG_FS=n
Jesper Nilsson (1):
klist.c: bit 0 in pointer can't be used as flag
Kay Sievers (1):
PNP: fix broken pnp lowercasing for acpi module aliases
Roland Dreier (1):
driver core: Convert '/' to '!' in dev_set_name()
^ permalink raw reply [flat|nested] 13+ messages in thread* [PATCH 1/5] driver core: Convert '/' to '!' in dev_set_name()
2009-01-21 5:18 [GIT PATCH] driver core fixes for your 2.6-git tree Greg KH
@ 2009-01-21 5:19 ` Greg Kroah-Hartman
2009-01-21 5:19 ` [PATCH 2/5] PNP: fix broken pnp lowercasing for acpi module aliases Greg Kroah-Hartman
` (3 subsequent siblings)
4 siblings, 0 replies; 13+ messages in thread
From: Greg Kroah-Hartman @ 2009-01-21 5:19 UTC (permalink / raw)
To: linux-kernel; +Cc: Roland Dreier, Roland Dreier, Greg Kroah-Hartman
From: Roland Dreier <rdreier@cisco.com>
Commit 3ada8b7e ("block: struct device - replace bus_id with dev_name(),
dev_set_name()") deleted the code in register_disk() that changed a '/'
to a '!' in the device name when registering a disk, but dev_set_name()
does not perform this conversion.
This leads to amusing problems with disks that have '/' in their names:
for example a failure to boot with the root partition on a cciss device,
even though the kernel says it knows about the root device:
VFS: Cannot open root device "cciss/c0d0p6" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:
6800 71652960 cciss/c0d0 driver: cciss
6802 1 cciss/c0d0p2
6805 2931831 cciss/c0d0p5
6806 34354908 cciss/c0d0p6
6810 71652960 cciss/c0d1 driver: cciss
Fix this by adding code to change '/' to '!' in dev_set_name() to handle
this until dev_set_name() is converted to use kobject_set_name().
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Acked-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/base/core.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/drivers/base/core.c b/drivers/base/core.c
index 8079afc..55e5309 100644
--- a/drivers/base/core.c
+++ b/drivers/base/core.c
@@ -777,10 +777,16 @@ static void device_remove_class_symlinks(struct device *dev)
int dev_set_name(struct device *dev, const char *fmt, ...)
{
va_list vargs;
+ char *s;
va_start(vargs, fmt);
vsnprintf(dev->bus_id, sizeof(dev->bus_id), fmt, vargs);
va_end(vargs);
+
+ /* ewww... some of these buggers have / in the name... */
+ while ((s = strchr(dev->bus_id, '/')))
+ *s = '!';
+
return 0;
}
EXPORT_SYMBOL_GPL(dev_set_name);
--
1.6.0.4
^ permalink raw reply related [flat|nested] 13+ messages in thread* [PATCH 2/5] PNP: fix broken pnp lowercasing for acpi module aliases
2009-01-21 5:18 [GIT PATCH] driver core fixes for your 2.6-git tree Greg KH
2009-01-21 5:19 ` [PATCH 1/5] driver core: Convert '/' to '!' in dev_set_name() Greg Kroah-Hartman
@ 2009-01-21 5:19 ` Greg Kroah-Hartman
2009-01-21 5:19 ` [PATCH 3/5] sysfs: fix problems with binary files Greg Kroah-Hartman
` (2 subsequent siblings)
4 siblings, 0 replies; 13+ messages in thread
From: Greg Kroah-Hartman @ 2009-01-21 5:19 UTC (permalink / raw)
To: linux-kernel; +Cc: Kay Sievers, Bryan Kadzban, Greg Kroah-Hartman
From: Kay Sievers <kay.sievers@vrfy.org>
Based on a patch from Brian, who identified the issue.
Signed-off-by: Bryan Kadzban <bryan@kadzban.is-a-geek.net>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
scripts/mod/file2alias.c | 17 +++++++++++++++--
1 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/scripts/mod/file2alias.c b/scripts/mod/file2alias.c
index d4dc222..491b8b1 100644
--- a/scripts/mod/file2alias.c
+++ b/scripts/mod/file2alias.c
@@ -366,11 +366,17 @@ static void do_pnp_device_entry(void *symval, unsigned long size,
for (i = 0; i < count; i++) {
const char *id = (char *)devs[i].id;
+ char acpi_id[sizeof(devs[0].id)];
+ int j;
buf_printf(&mod->dev_table_buf,
"MODULE_ALIAS(\"pnp:d%s*\");\n", id);
+
+ /* fix broken pnp bus lowercasing */
+ for (j = 0; j < sizeof(acpi_id); j++)
+ acpi_id[j] = toupper(id[j]);
buf_printf(&mod->dev_table_buf,
- "MODULE_ALIAS(\"acpi*:%s:*\");\n", id);
+ "MODULE_ALIAS(\"acpi*:%s:*\");\n", acpi_id);
}
}
@@ -416,10 +422,17 @@ static void do_pnp_card_entries(void *symval, unsigned long size,
/* add an individual alias for every device entry */
if (!dup) {
+ char acpi_id[sizeof(card->devs[0].id)];
+ int k;
+
buf_printf(&mod->dev_table_buf,
"MODULE_ALIAS(\"pnp:d%s*\");\n", id);
+
+ /* fix broken pnp bus lowercasing */
+ for (k = 0; k < sizeof(acpi_id); k++)
+ acpi_id[k] = toupper(id[k]);
buf_printf(&mod->dev_table_buf,
- "MODULE_ALIAS(\"acpi*:%s:*\");\n", id);
+ "MODULE_ALIAS(\"acpi*:%s:*\");\n", acpi_id);
}
}
}
--
1.6.0.4
^ permalink raw reply related [flat|nested] 13+ messages in thread* [PATCH 3/5] sysfs: fix problems with binary files
2009-01-21 5:18 [GIT PATCH] driver core fixes for your 2.6-git tree Greg KH
2009-01-21 5:19 ` [PATCH 1/5] driver core: Convert '/' to '!' in dev_set_name() Greg Kroah-Hartman
2009-01-21 5:19 ` [PATCH 2/5] PNP: fix broken pnp lowercasing for acpi module aliases Greg Kroah-Hartman
@ 2009-01-21 5:19 ` Greg Kroah-Hartman
2009-01-21 5:19 ` [PATCH 4/5] debugfs: introduce stub for debugfs_create_size_t() when DEBUG_FS=n Greg Kroah-Hartman
2009-01-21 5:19 ` [PATCH 5/5] klist.c: bit 0 in pointer can't be used as flag Greg Kroah-Hartman
4 siblings, 0 replies; 13+ messages in thread
From: Greg Kroah-Hartman @ 2009-01-21 5:19 UTC (permalink / raw)
To: linux-kernel; +Cc: Greg Kroah-Hartman
Some sysfs binary files don't like having 0 passed to them as a size.
Fix this up at the root by just returning to the vfs if userspace asks
us for a zero sized buffer.
Thanks to Pavel Roskin for pointing this out.
Reported-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
fs/sysfs/bin.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/fs/sysfs/bin.c b/fs/sysfs/bin.c
index 66f6e58..f2c478c 100644
--- a/fs/sysfs/bin.c
+++ b/fs/sysfs/bin.c
@@ -63,6 +63,9 @@ read(struct file *file, char __user *userbuf, size_t bytes, loff_t *off)
int count = min_t(size_t, bytes, PAGE_SIZE);
char *temp;
+ if (!bytes)
+ return 0;
+
if (size) {
if (offs > size)
return 0;
@@ -131,6 +134,9 @@ static ssize_t write(struct file *file, const char __user *userbuf,
int count = min_t(size_t, bytes, PAGE_SIZE);
char *temp;
+ if (!bytes)
+ return 0;
+
if (size) {
if (offs > size)
return 0;
--
1.6.0.4
^ permalink raw reply related [flat|nested] 13+ messages in thread* [PATCH 4/5] debugfs: introduce stub for debugfs_create_size_t() when DEBUG_FS=n
2009-01-21 5:18 [GIT PATCH] driver core fixes for your 2.6-git tree Greg KH
` (2 preceding siblings ...)
2009-01-21 5:19 ` [PATCH 3/5] sysfs: fix problems with binary files Greg Kroah-Hartman
@ 2009-01-21 5:19 ` Greg Kroah-Hartman
2009-01-22 6:41 ` Stephen Rothwell
2009-01-21 5:19 ` [PATCH 5/5] klist.c: bit 0 in pointer can't be used as flag Greg Kroah-Hartman
4 siblings, 1 reply; 13+ messages in thread
From: Greg Kroah-Hartman @ 2009-01-21 5:19 UTC (permalink / raw)
To: linux-kernel; +Cc: Inaky Perez-Gonzalez, Greg Kroah-Hartman
From: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Toralf Förster <toralf.foerster@gmx.de> reported a build failure in
the WiMAX stack when CONFIG_DEBUG_FS=n
http://linuxwimax.org/pipermail/wimax/2009-January/000449.html
This is due to debugfs_create_size_t() missing an stub that returns
-ENODEV when the DEBUGFS subsystem is not configured in (like the rest
of the debugfs API).
This patch adds said stub.
Reported-by: Toralf Förster <toralf.foerster@gmx.de>
Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
include/linux/debugfs.h | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/include/linux/debugfs.h b/include/linux/debugfs.h
index 23936b1..0f5c33b 100644
--- a/include/linux/debugfs.h
+++ b/include/linux/debugfs.h
@@ -162,6 +162,13 @@ static inline struct dentry *debugfs_create_x32(const char *name, mode_t mode,
return ERR_PTR(-ENODEV);
}
+struct dentry *debugfs_create_size_t(const char *name, mode_t mode,
+ struct dentry *parent,
+ size_t *value)
+{
+ return ERR_PTR(-ENODEV);
+}
+
static inline struct dentry *debugfs_create_bool(const char *name, mode_t mode,
struct dentry *parent,
u32 *value)
--
1.6.0.4
^ permalink raw reply related [flat|nested] 13+ messages in thread* Re: [PATCH 4/5] debugfs: introduce stub for debugfs_create_size_t() when DEBUG_FS=n
2009-01-21 5:19 ` [PATCH 4/5] debugfs: introduce stub for debugfs_create_size_t() when DEBUG_FS=n Greg Kroah-Hartman
@ 2009-01-22 6:41 ` Stephen Rothwell
2009-01-22 18:22 ` Greg KH
0 siblings, 1 reply; 13+ messages in thread
From: Stephen Rothwell @ 2009-01-22 6:41 UTC (permalink / raw)
To: Greg Kroah-Hartman
Cc: linux-kernel, Inaky Perez-Gonzalez, Linus, Andrew Morton
[-- Attachment #1: Type: text/plain, Size: 1415 bytes --]
Hi Greg,
On Tue, 20 Jan 2009 21:19:56 -0800 Greg Kroah-Hartman <gregkh@suse.de> wrote:
>
> From: Inaky Perez-Gonzalez <inaky@linux.intel.com>
>
> Toralf Förster <toralf.foerster@gmx.de> reported a build failure in
> the WiMAX stack when CONFIG_DEBUG_FS=n
>
> http://linuxwimax.org/pipermail/wimax/2009-January/000449.html
>
> This is due to debugfs_create_size_t() missing an stub that returns
> -ENODEV when the DEBUGFS subsystem is not configured in (like the rest
> of the debugfs API).
>
> This patch adds said stub.
>
> Reported-by: Toralf Förster <toralf.foerster@gmx.de>
> Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
> ---
> include/linux/debugfs.h | 7 +++++++
> 1 files changed, 7 insertions(+), 0 deletions(-)
>
> diff --git a/include/linux/debugfs.h b/include/linux/debugfs.h
> index 23936b1..0f5c33b 100644
> --- a/include/linux/debugfs.h
> +++ b/include/linux/debugfs.h
> @@ -162,6 +162,13 @@ static inline struct dentry *debugfs_create_x32(const char *name, mode_t mode,
> return ERR_PTR(-ENODEV);
> }
>
> +struct dentry *debugfs_create_size_t(const char *name, mode_t mode,
This needs to be "static inline". See my other email about linux-next
breakage due to this.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 4/5] debugfs: introduce stub for debugfs_create_size_t() when DEBUG_FS=n
2009-01-22 6:41 ` Stephen Rothwell
@ 2009-01-22 18:22 ` Greg KH
2009-01-22 19:53 ` Inaky Perez-Gonzalez
0 siblings, 1 reply; 13+ messages in thread
From: Greg KH @ 2009-01-22 18:22 UTC (permalink / raw)
To: Stephen Rothwell; +Cc: linux-kernel, Inaky Perez-Gonzalez, Linus, Andrew Morton
On Thu, Jan 22, 2009 at 05:41:52PM +1100, Stephen Rothwell wrote:
> Hi Greg,
>
> On Tue, 20 Jan 2009 21:19:56 -0800 Greg Kroah-Hartman <gregkh@suse.de> wrote:
> >
> > From: Inaky Perez-Gonzalez <inaky@linux.intel.com>
> >
> > Toralf Förster <toralf.foerster@gmx.de> reported a build failure in
> > the WiMAX stack when CONFIG_DEBUG_FS=n
> >
> > http://linuxwimax.org/pipermail/wimax/2009-January/000449.html
> >
> > This is due to debugfs_create_size_t() missing an stub that returns
> > -ENODEV when the DEBUGFS subsystem is not configured in (like the rest
> > of the debugfs API).
> >
> > This patch adds said stub.
> >
> > Reported-by: Toralf Förster <toralf.foerster@gmx.de>
> > Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
> > Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
> > ---
> > include/linux/debugfs.h | 7 +++++++
> > 1 files changed, 7 insertions(+), 0 deletions(-)
> >
> > diff --git a/include/linux/debugfs.h b/include/linux/debugfs.h
> > index 23936b1..0f5c33b 100644
> > --- a/include/linux/debugfs.h
> > +++ b/include/linux/debugfs.h
> > @@ -162,6 +162,13 @@ static inline struct dentry *debugfs_create_x32(const char *name, mode_t mode,
> > return ERR_PTR(-ENODEV);
> > }
> >
> > +struct dentry *debugfs_create_size_t(const char *name, mode_t mode,
>
> This needs to be "static inline". See my other email about linux-next
> breakage due to this.
This is now resolved in my tree, sorry about this.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PATCH 4/5] debugfs: introduce stub for debugfs_create_size_t() when DEBUG_FS=n
2009-01-22 18:22 ` Greg KH
@ 2009-01-22 19:53 ` Inaky Perez-Gonzalez
0 siblings, 0 replies; 13+ messages in thread
From: Inaky Perez-Gonzalez @ 2009-01-22 19:53 UTC (permalink / raw)
To: Greg KH; +Cc: Stephen Rothwell, linux-kernel, Linus, Andrew Morton
On Thursday 22 January 2009, Greg KH wrote:
> On Thu, Jan 22, 2009 at 05:41:52PM +1100, Stephen Rothwell wrote:
> > Hi Greg,
> >
> > On Tue, 20 Jan 2009 21:19:56 -0800 Greg Kroah-Hartman <gregkh@suse.de>
wrote:
>
> snip [...]
>
> > > > @@ -162,6 +162,13 @@ static inline struct dentry
> > > *debugfs_create_x32(const char *name, mode_t mode, return
> > > ERR_PTR(-ENODEV);
> > > }
> > >
> > > +struct dentry *debugfs_create_size_t(const char *name, mode_t mode,
> >
> > This needs to be "static inline". See my other email about linux-next
> > breakage due to this.
>
> This is now resolved in my tree, sorry about this.
Ouch -- that was my fault. Sorry for messing up something so basic.
--
Inaky
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH 5/5] klist.c: bit 0 in pointer can't be used as flag
2009-01-21 5:18 [GIT PATCH] driver core fixes for your 2.6-git tree Greg KH
` (3 preceding siblings ...)
2009-01-21 5:19 ` [PATCH 4/5] debugfs: introduce stub for debugfs_create_size_t() when DEBUG_FS=n Greg Kroah-Hartman
@ 2009-01-21 5:19 ` Greg Kroah-Hartman
4 siblings, 0 replies; 13+ messages in thread
From: Greg Kroah-Hartman @ 2009-01-21 5:19 UTC (permalink / raw)
To: linux-kernel
Cc: Jesper Nilsson, Bastien ROUCARIES, Jesper Nilsson, stable,
Greg Kroah-Hartman
From: Jesper Nilsson <Jesper.Nilsson@axis.com>
The commit a1ed5b0cffe4b16a93a6a3390e8cee0fbef94f86
(klist: don't iterate over deleted entries) introduces use of the
low bit in a pointer to indicate if the knode is dead or not,
assuming that this bit is always free.
This is not true for all architectures, CRIS for example may align data
on byte borders.
The result is a bunch of warnings on bootup, devices not being
added correctly etc, reported by Hinko Kocevar <hinko.kocevar@cetrtapot.si>:
------------[ cut here ]------------
WARNING: at lib/klist.c:62 ()
Modules linked in:
Stack from c1fe1cf0:
c01cc7f4 c1fe1d11 c000eb4e c000e4de 00000000 00000000 c1f4f78f c1f50c2d
c01d008c c1fdd1a0 c1fdd1a0 c1fe1d38 c0192954 c1fe0000 00000000 c1fe1dc0
00000002 7fffffff c1fe1da8 c0192d50 c1fe1dc0 00000002 7fffffff c1ff9fcc
Call Trace: [<c000eb4e>] [<c000e4de>] [<c0192954>] [<c0192d50>] [<c001d49e>] [<c000b688>] [<c0192a3c>]
[<c000b63e>] [<c000b63e>] [<c001a542>] [<c00b55b0>] [<c00411c0>] [<c00b559c>] [<c01918e6>] [<c0191988>]
[<c01919d0>] [<c00cd9c8>] [<c00cdd6a>] [<c0034178>] [<c000409a>] [<c0015576>] [<c0029130>] [<c0029078>]
[<c0029170>] [<c0012336>] [<c00b4076>] [<c00b4770>] [<c006d6e4>] [<c006d974>] [<c006dca0>] [<c0028d6c>]
[<c0028e12>] [<c0006424>] <4>---[ end trace 4eaa2a86a8e2da22 ]---
------------[ cut here ]------------
Repeat ad nauseam.
Wed, Jan 14, 2009 at 12:11:32AM +0100, Bastien ROUCARIES wrote:
> Perhaps using a pointerhackalign trick on this structure where
> #define pointerhackalign(x) __attribute__ ((aligned (x)))
> and declare
> struct klist_node {
> ...
> } pointerhackalign(2);
>
> Because __attribute__ ((aligned (x))) could only increase alignment
> it will safe to do that and serve as documentation purpose :)
That works, but we need to do it not for the struct klist_node,
but for the struct we insert into the void * in klist_node,
which is struct klist.
Reported-by: Hinko Kocevar <hinko.kocevar@cetrtapot.si
Cc: Bastien ROUCARIES <roucaries.bastien@gmail.com>
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
include/linux/klist.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/linux/klist.h b/include/linux/klist.h
index d5a27af..e91a4e5 100644
--- a/include/linux/klist.h
+++ b/include/linux/klist.h
@@ -22,7 +22,7 @@ struct klist {
struct list_head k_list;
void (*get)(struct klist_node *);
void (*put)(struct klist_node *);
-};
+} __attribute__ ((aligned (4)));
#define KLIST_INIT(_name, _get, _put) \
{ .k_lock = __SPIN_LOCK_UNLOCKED(_name.k_lock), \
--
1.6.0.4
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [GIT PATCH] driver core fixes for your 2.6-git tree
@ 2009-01-28 23:25 Greg KH
0 siblings, 0 replies; 13+ messages in thread
From: Greg KH @ 2009-01-28 23:25 UTC (permalink / raw)
To: Linus Torvalds, Andrew Morton; +Cc: linux-kernel
Here are 3 documentation bugfixes against your current kernel git tree.
All of these have been in the -next releases.
Please pull from:
master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-core-2.6.git/
The patches will be sent as a follow-on to this message to lkml for people
to see.
thanks,
greg k-h
------------
Documentation/DocBook/uio-howto.tmpl | 88 +++++++++++++++++++++++++++
Documentation/ja_JP/stable_kernel_rules.txt | 15 +++--
drivers/base/core.c | 2 +-
3 files changed, 99 insertions(+), 6 deletions(-)
---------------
Hans J. Koch (1):
UIO: Add missing documentation of features added recently
Randy Dunlap (1):
driver-core: fix kernel-doc parameter name
Tsugikazu Shibata (1):
Sync patch for jp_JP/stable_kernel_rules.txt
^ permalink raw reply [flat|nested] 13+ messages in thread* [GIT PATCH] driver core fixes for your 2.6-git tree
@ 2009-01-09 23:20 Greg KH
0 siblings, 0 replies; 13+ messages in thread
From: Greg KH @ 2009-01-09 23:20 UTC (permalink / raw)
To: Linus Torvalds, Andrew Morton
Cc: linux-kernel, Stefan Richter, Alan Cox, Kay Sievers
Here are 4 reverts of patches that were previously pulled into your git
tree. They revert the ability for the driver core to have a private
area in struct device.
Thanks to Stefan Richter for pointing out the problems with the current
implementation, and for Alan Cox persuading me to rework the whole
thing, which I will do for the 2.6.30 release.
Please pull from:
master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-core-2.6.git/
The patches will be sent as a follow-on to this message to lkml for people
to see.
thanks,
greg k-h
------------
drivers/base/base.h | 26 --------------------------
drivers/base/bus.c | 40 +++++++++++++---------------------------
drivers/base/core.c | 45 +++++++++++++--------------------------------
drivers/base/dd.c | 13 +++++--------
drivers/base/driver.c | 13 +++----------
include/linux/device.h | 7 ++++---
6 files changed, 38 insertions(+), 106 deletions(-)
---------------
Greg Kroah-Hartman (4):
Revert "driver core: move knode_bus into private structure"
Revert "driver core: move knode_driver into private structure"
Revert "driver core: move klist_children into private structure"
Revert "driver core: create a private portion of struct device"
^ permalink raw reply [flat|nested] 13+ messages in thread* [GIT PATCH] driver core fixes for your 2.6-git tree
@ 2008-12-17 19:27 Greg KH
0 siblings, 0 replies; 13+ messages in thread
From: Greg KH @ 2008-12-17 19:27 UTC (permalink / raw)
To: Linus Torvalds, Andrew Morton; +Cc: linux-kernel
Here are 4 patches for your 2.6-git tree.
They contain:
- licensing fix for the xilinx_hwicap drivers (signed off by the
original authors)
- 2 dynamic debug printk fixes
- staging Kconfig fix
All of these have been in the -next trees and the -mm releases for a
while now.
Please pull from:
master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-core-2.6.git/
The patches will be sent as a follow-on to this message to lkml for people
to see.
thanks,
greg k-h
------------
drivers/char/xilinx_hwicap/buffer_icap.c | 3 ---
drivers/char/xilinx_hwicap/buffer_icap.h | 3 ---
drivers/char/xilinx_hwicap/fifo_icap.c | 3 ---
drivers/char/xilinx_hwicap/fifo_icap.h | 3 ---
drivers/char/xilinx_hwicap/xilinx_hwicap.c | 3 ---
drivers/char/xilinx_hwicap/xilinx_hwicap.h | 3 ---
drivers/staging/Kconfig | 3 +++
lib/dynamic_printk.c | 6 +++---
8 files changed, 6 insertions(+), 21 deletions(-)
---------------
Dmitry Baryshkov (1):
STAGING: Move staging drivers back to staging-specific menu
Greg Kroah-Hartman (1):
xilinx_hwicap: remove improper wording in license statement
Johann Felix Soden (1):
driver core: fix using 'ret' variable in unregister_dynamic_debug_module
Marcel Holtmann (1):
driver core: add newlines to debugging enabled/disabled messages
^ permalink raw reply [flat|nested] 13+ messages in thread* [GIT PATCH] driver core fixes for your 2.6-git tree
@ 2008-10-29 22:38 Greg KH
0 siblings, 0 replies; 13+ messages in thread
From: Greg KH @ 2008-10-29 22:38 UTC (permalink / raw)
To: Linus Torvalds, Andrew Morton; +Cc: linux-kernel
Here are 6 patches for your 2.6-git tree.
They contain:
- 4 documentation updates:
- ja_JP/HOWTO update
- stable_kernel_rules.txt update
- document the taint flags properly
- fix some function comments in drivers/base/sys.c that
were incorrect.
- bugfix for the dynamic_printk command line option
- bugfix for the sysdev code
All of these have been in the -next trees and the -mm releases for a
while now.
Please pull from:
master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-core-2.6.git/
The patches will be sent as a follow-on to this message to lkml for people
to see.
thanks,
greg k-h
------------
Documentation/ja_JP/HOWTO | 14 +++++++-------
Documentation/stable_kernel_rules.txt | 1 +
Documentation/sysctl/kernel.txt | 24 +++++++++++++++++-------
drivers/base/sys.c | 10 ++++++----
lib/dynamic_printk.c | 4 +++-
5 files changed, 34 insertions(+), 19 deletions(-)
---------------
Andi Kleen (1):
sysfs: Fix return values for sysdev_store_{ulong,int}
Greg Kroah-Hartman (1):
Document kernel taint flags properly
Jason Baron (1):
Driver core: fix 'dynamic_debug' cmd line parameter
Josh Boyer (1):
Update stable tree documentation
Qinghuang Feng (1):
driver core: drivers/base/sys.c: update comments
Tsugikazu Shibata (1):
HOWTO: Sync patch for jp_JP/HOWTO
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2009-01-28 23:27 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-21 5:18 [GIT PATCH] driver core fixes for your 2.6-git tree Greg KH
2009-01-21 5:19 ` [PATCH 1/5] driver core: Convert '/' to '!' in dev_set_name() Greg Kroah-Hartman
2009-01-21 5:19 ` [PATCH 2/5] PNP: fix broken pnp lowercasing for acpi module aliases Greg Kroah-Hartman
2009-01-21 5:19 ` [PATCH 3/5] sysfs: fix problems with binary files Greg Kroah-Hartman
2009-01-21 5:19 ` [PATCH 4/5] debugfs: introduce stub for debugfs_create_size_t() when DEBUG_FS=n Greg Kroah-Hartman
2009-01-22 6:41 ` Stephen Rothwell
2009-01-22 18:22 ` Greg KH
2009-01-22 19:53 ` Inaky Perez-Gonzalez
2009-01-21 5:19 ` [PATCH 5/5] klist.c: bit 0 in pointer can't be used as flag Greg Kroah-Hartman
-- strict thread matches above, loose matches on Subject: below --
2009-01-28 23:25 [GIT PATCH] driver core fixes for your 2.6-git tree Greg KH
2009-01-09 23:20 Greg KH
2008-12-17 19:27 Greg KH
2008-10-29 22:38 Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox