* [BK PATCH] More Driver Core patches for 2.6.10-rc1
@ 2004-11-05 0:47 Greg KH
0 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2004-11-05 0:47 UTC (permalink / raw)
To: torvalds, akpm; +Cc: linux-kernel
Hi,
Here are some more driver core and sysfs fixes for 2.6.10-rc1. They fix
a number of little bugs that people have been reporting over the past
week with the recent sysfs changes, and also the kevent changes. The
kevent stuff also now has a proper MAINTAINERS entry, and we now export
a few more environment variables through the hotplug interface to make
userspace programs have an easier time trying to figure out how to deal
with devices properly.
Please pull from:
bk://kernel.bkbits.net/gregkh/linux/driver-2.6
thanks,
greg k-h
p.s. I'll send these as patches in response to this email to lkml for
those who want to see them.
MAINTAINERS | 6 ++
drivers/base/bus.c | 101 +++++++++++++++++++++++++++++---------------------
drivers/base/class.c | 26 ++++++++++++
drivers/base/core.c | 6 +-
drivers/block/genhd.c | 40 +++++++++++++++++++
fs/sysfs/dir.c | 6 +-
fs/sysfs/file.c | 4 +
fs/sysfs/inode.c | 5 --
fs/sysfs/mount.c | 2
fs/sysfs/symlink.c | 17 ++++----
fs/sysfs/sysfs.h | 2
lib/kobject.c | 1
lib/kobject_uevent.c | 8 +--
13 files changed, 154 insertions(+), 70 deletions(-)
-----
Adrian Bunk:
o small sysfs cleanups
Greg Kroah-Hartman:
o kevent: fix build error if CONFIG_KOBJECT_UEVENT is not selected
Kay Sievers:
o add the physical device and the bus to the hotplug environment
Maneesh Soni:
o fix kernel BUG at fs/sysfs/dir.c:20!
o sysfs: fix sysfs backing store error path confusion
Robert Love:
o kobject_uevent: add MAINTAINER entry
o kobject_uevent: fix init ordering
Tejun Heo:
o driver-model: device_add() error path reference counting fix
o driver-model: kobject_add() error path reference counting fix
o driver-model: sysfs_release() dangling pointer reference fix
o driver-model: bus_recan_devices() locking fix
o driver-model: comment fix in bus.c
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [BK PATCH] More Driver Core patches for 2.6.10-rc1
2004-11-13 20:51 ` Linus Torvalds
@ 2004-11-13 21:10 ` Greg KH
0 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2004-11-13 21:10 UTC (permalink / raw)
To: Linus Torvalds; +Cc: akpm, linux-kernel
On Sat, Nov 13, 2004 at 12:51:41PM -0800, Linus Torvalds wrote:
>
>
> On Fri, 12 Nov 2004, Greg KH wrote:
> >
> > David Brownell:
> > o driver core: shrink struct device a bit
> >
> > Greg Kroah-Hartman:
> > o driver core: fix up some missed power_state changes from David's patch
>
> Hmm. Apparently drivers/ide/ppc/pmac.c wasn't among those fixed up:
>
> drivers/ide/ppc/pmac.c: In function `pmac_ide_macio_suspend':
> drivers/ide/ppc/pmac.c:1363: error: structure has no member named `power_state'
> drivers/ide/ppc/pmac.c:1366: error: structure has no member named `power_state'
> ...
Oops, sorry about that.
> Is it always valid to just replace
>
> dev->dev.power_state
>
> with
>
> dev->dev.power.power_state
Yes it is.
> or is there anything subtler going on?
Nope, nothing subtle here :)
thanks,
greg k-h
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [BK PATCH] More Driver Core patches for 2.6.10-rc1
2004-11-12 22:58 Greg KH
@ 2004-11-13 20:51 ` Linus Torvalds
2004-11-13 21:10 ` Greg KH
0 siblings, 1 reply; 4+ messages in thread
From: Linus Torvalds @ 2004-11-13 20:51 UTC (permalink / raw)
To: Greg KH; +Cc: akpm, linux-kernel
On Fri, 12 Nov 2004, Greg KH wrote:
>
> David Brownell:
> o driver core: shrink struct device a bit
>
> Greg Kroah-Hartman:
> o driver core: fix up some missed power_state changes from David's patch
Hmm. Apparently drivers/ide/ppc/pmac.c wasn't among those fixed up:
drivers/ide/ppc/pmac.c: In function `pmac_ide_macio_suspend':
drivers/ide/ppc/pmac.c:1363: error: structure has no member named `power_state'
drivers/ide/ppc/pmac.c:1366: error: structure has no member named `power_state'
...
Is it always valid to just replace
dev->dev.power_state
with
dev->dev.power.power_state
or is there anything subtler going on?
Linus
^ permalink raw reply [flat|nested] 4+ messages in thread
* [BK PATCH] More Driver Core patches for 2.6.10-rc1
@ 2004-11-12 22:58 Greg KH
2004-11-13 20:51 ` Linus Torvalds
0 siblings, 1 reply; 4+ messages in thread
From: Greg KH @ 2004-11-12 22:58 UTC (permalink / raw)
To: torvalds, akpm; +Cc: linux-kernel
Hi,
Here are a few driver core and sysfs patches and fixes for 2.6.10-rc1.
They fix some minor bugs in sysfs, add some more environment variables
to /sbin/hotplug to make userspace easier, and shrink the size of struct
device.
Please pull from:
bk://kernel.bkbits.net/gregkh/linux/driver-2.6
thanks,
greg k-h
p.s. I'll send these as patches in response to this email to lkml for
those who want to see them.
arch/arm/common/locomo.c | 3 ---
arch/arm/common/sa1111.c | 23 +++++++++++++++--------
arch/arm/mach-sa1100/neponset.c | 23 +++++++++++++++--------
drivers/base/bus.c | 2 +-
drivers/base/class.c | 6 ++++++
drivers/base/core.c | 21 +++++++++++++++++++++
drivers/block/genhd.c | 6 ++++++
drivers/video/aty/aty128fb.c | 10 +++++-----
drivers/video/aty/atyfb_base.c | 10 +++++-----
drivers/video/aty/radeon_pm.c | 6 +++---
fs/sysfs/dir.c | 8 ++++----
include/linux/device.h | 5 -----
include/linux/kobject_uevent.h | 1 +
lib/kobject_uevent.c | 8 +++++---
14 files changed, 87 insertions(+), 45 deletions(-)
-----
Anil Keshavamurthy:
o Add KOBJ_ONLINE
David Brownell:
o driver core: shrink struct device a bit
Greg Kroah-Hartman:
o sysfs: fix odd patch error
o driver core: fix up some missed power_state changes from David's patch
Kay Sievers:
o print hotplug SEQNUM as unsigned
o add the bus name to the hotplug environment
o add the driver name to the hotplug environment
Maneesh Soni:
o sysfs: fix duplicate driver registration error
Milton D. Miller II:
o fix sysfs backing store error path confusion
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-11-13 21:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-05 0:47 [BK PATCH] More Driver Core patches for 2.6.10-rc1 Greg KH
2004-11-12 22:58 Greg KH
2004-11-13 20:51 ` Linus Torvalds
2004-11-13 21:10 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®