* [1/2] 2.6.23-rc1: known regressions
@ 2007-07-23 9:47 Michal Piotrowski
2007-07-23 10:21 ` Al Viro
0 siblings, 1 reply; 2+ messages in thread
From: Michal Piotrowski @ 2007-07-23 9:47 UTC (permalink / raw)
To: Linus Torvalds, Andrew Morton, LKML, Andi Kleen, Ingo Molnar,
Markus, Andre Noll, acpi4asus-user, Corentin Chary, Karol Kozimor,
Gabriel C, Netdev, Stephen Hemminger, Thomas Meyer
Hi all,
Here is a list of some known regressions in 2.6.23-rc1.
Feel free to add new regressions/remove fixed etc.
http://kernelnewbies.org/known_regressions
List of Aces
Name Regressions fixed since 21-Jun-2007
Andi Kleen 4
Linus Torvalds 4
Adrian Bunk 3
Andrew Morton 3
Jens Axboe 3
Al Viro 2
David Woodhouse 2
Hugh Dickins 2
Tejun Heo 2
Unclassified
Subject : /usr/bin/ld: section .text [ffffffffff700500 -> ffffffffff7007e3] overlaps section .gnu.version_d [ffffffffff7004d8 -> ffffffffff70050f]
References : http://lkml.org/lkml/2007/7/22/239
Last known good : ?
Submitter : Andre Noll <maan@systemlinux.org>
Caused-By : ?
Handled-By : Andi Kleen <ak@suse.de>
Status : problem is being debugged
Subject : pcwd_init_module(): WARNING: at lib/kref.c:33 kref_get()
References : http://lkml.org/lkml/2007/7/22/94
Last known good : ?
Submitter : Ingo Molnar <mingo@elte.hu>
Caused-By : ?
Handled-By : ?
Status : problem is being debugged
Subject : konqueror suddenly vanishing, "konqueror: Fatal IO error: client killed"
References : http://lkml.org/lkml/2007/7/22/86
Last known good : ?
Submitter : Markus <lists4me@web.de>
Caused-By : ?
Handled-By : Ingo Molnar <mingo@elte.hu>
Status : problem is being debugged
ACPI
Subject : drivers/misc/asus-laptop.c:*: error: 'struct led_classdev' has no member named 'class_dev'
References : http://lkml.org/lkml/2007/7/22/299
Last known good : ?
Submitter : Gabriel C <nix.or.die@googlemail.com>
Caused-By : ?
Handled-By : ?
Status : unknown
Networking
Subject : New wake ups from sky2
References : http://lkml.org/lkml/2007/7/20/386
Last known good : ?
Submitter : Thomas Meyer <thomas@m3y3r.de>
Caused-By : Stephen Hemminger <shemminger@osdl.org>
commit eb35cf60e462491249166182e3e755d3d5d91a28
Handled-By : Stephen Hemminger <shemminger@osdl.org>
Status : unknown
Regards,
Michal
--
LOG
http://www.stardust.webpages.pl/log/
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [1/2] 2.6.23-rc1: known regressions 2007-07-23 9:47 [1/2] 2.6.23-rc1: known regressions Michal Piotrowski @ 2007-07-23 10:21 ` Al Viro 0 siblings, 0 replies; 2+ messages in thread From: Al Viro @ 2007-07-23 10:21 UTC (permalink / raw) To: Michal Piotrowski Cc: Linus Torvalds, Andrew Morton, LKML, Andi Kleen, Ingo Molnar, Markus, Andre Noll, acpi4asus-user, Corentin Chary, Karol Kozimor, Gabriel C, Netdev, Stephen Hemminger, Thomas Meyer On Mon, Jul 23, 2007 at 11:47:30AM +0200, Michal Piotrowski wrote: > Subject : drivers/misc/asus-laptop.c:*: error: 'struct led_classdev' has no member named 'class_dev' > References : http://lkml.org/lkml/2007/7/22/299 > Last known good : ? > Submitter : Gabriel C <nix.or.die@googlemail.com> > Caused-By : ? > Handled-By : ? > Status : unknown >From 2a7e1148a9d3ee860dc2650c9a45288b120e250f Mon Sep 17 00:00:00 2001 From: Al Viro <viro@zeniv.linux.org.uk> Date: Mon, 23 Jul 2007 06:20:22 -0400 Subject: [PATCH] Fix failure exits in asus-laptop Fallout from f8a7c6fe14f556ca8eeddce258cb21392d0c3a2f. However, looking at it shows that checks done in ASUS_LED_UNREGISTER() can't trigger at all (we never get to asus_led_exit() if registration fails) and if that registration fails, we actually leak stuff. IOW, it's worse than just replacing class_dev with dev in there - the tests themselves had been papering over the lousy cleanup logics. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> --- drivers/misc/asus-laptop.c | 32 +++++++++++++++++++++----------- 1 files changed, 21 insertions(+), 11 deletions(-) diff --git a/drivers/misc/asus-laptop.c b/drivers/misc/asus-laptop.c index f753060..6b89854 100644 --- a/drivers/misc/asus-laptop.c +++ b/drivers/misc/asus-laptop.c @@ -1067,19 +1067,16 @@ static void asus_backlight_exit(void) } #define ASUS_LED_UNREGISTER(object) \ - if(object##_led.class_dev \ - && !IS_ERR(object##_led.class_dev)) \ - led_classdev_unregister(&object##_led) + led_classdev_unregister(&object##_led) static void asus_led_exit(void) { + destroy_workqueue(led_workqueue); ASUS_LED_UNREGISTER(mled); ASUS_LED_UNREGISTER(tled); ASUS_LED_UNREGISTER(pled); ASUS_LED_UNREGISTER(rled); ASUS_LED_UNREGISTER(gled); - - destroy_workqueue(led_workqueue); } static void __exit asus_laptop_exit(void) @@ -1135,29 +1132,42 @@ static int asus_led_init(struct device *dev) rv = ASUS_LED_REGISTER(mled, dev); if (rv) - return rv; + goto out; rv = ASUS_LED_REGISTER(tled, dev); if (rv) - return rv; + goto out1; rv = ASUS_LED_REGISTER(rled, dev); if (rv) - return rv; + goto out2; rv = ASUS_LED_REGISTER(pled, dev); if (rv) - return rv; + goto out3; rv = ASUS_LED_REGISTER(gled, dev); if (rv) - return rv; + goto out4; led_workqueue = create_singlethread_workqueue("led_workqueue"); if (!led_workqueue) - return -ENOMEM; + goto out5; return 0; +out5: + rv = -ENOMEM; + ASUS_LED_UNREGISTER(gled); +out4: + ASUS_LED_UNREGISTER(pled); +out3: + ASUS_LED_UNREGISTER(rled); +out2: + ASUS_LED_UNREGISTER(tled); +out1: + ASUS_LED_UNREGISTER(mled); +out: + return rv; } static int __init asus_laptop_init(void) -- 1.5.3.GIT ^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-07-23 10:21 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2007-07-23 9:47 [1/2] 2.6.23-rc1: known regressions Michal Piotrowski 2007-07-23 10:21 ` Al Viro
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).