linux-kernel mailing list

FromSubjectsort iconDate
Miles Lane
2.6.26-rc2-mm1 + 2 hotfixes -- possible recursive locking: s...
============================================= [ INFO: possible recursive locking detected ] 2.6.26-rc2-mm1 #8 --------------------------------------------- swapper/1 is trying to acquire lock: (&cls->mutex){--..}, at: [<c02a6564>] device_add+0x3ef/0x4ec but task is already holding lock: (&cls->mutex){--..}, at: [<c02a82e7>] class_for_each_device+0x29/0x95 other info that might help us debug this: 1 lock held by swapper/1: #0: (&cls->mutex){--..}, at: [<c...
May 18, 7:11 pm 2008
Trond Myklebust
[GIT] Please pull NFS client bugfixes and cleanups
Hi Linus, Please pull from the "hotfixes" branch of the repository at git pull git://git.linux-nfs.org/projects/trondmy/nfs-2.6.git hotfixes This will update the following files through the appended changesets. Cheers, Trond ---- fs/nfs/callback.c | 2 +- fs/nfs/callback_proc.c | 4 +- fs/nfs/callback_xdr.c | 40 +++++++++--------- fs/nfs/client.c | 8 ++-- fs/nfs/delegation.c | 4 +- fs/nfs/dir.c | 18 ++++---- fs/...
May 18, 6:29 pm 2008
Jonathan Corbet
[PATCH, RFC] Char dev BKL pushdown v2
OK, since the previous announcement, I've revisited all of the open() functions which didn't get lock_kernel() calls the first time around. Alan pointed out that even a completely empty open() might, in fact, need to acquire the BKL, so now they all do. Hopefully, this completes this work (at this level - there's plenty of down-pushing to do within subsystems). There's a new tree with this stuff: git://git.lwn.net/linux-2.6.git bkl-removal Stephen, might it be about time to pull this into li...
May 18, 6:15 pm 2008
Linus Torvalds
Linux 2.6.26-rc3
Another week, another -rc release. This time around, we have 60+% of the changes in drivers, notably drives/video and drivers/media, with some infiniband, networking and usb lovin' to fill things out. The rest is (as usual) mostly arch updates (I really should move "include/asm-xyz" to "arch/xyz/include" to make the nesting come out right - now you have to look at both include and arch to see what is architecture-dependent code), this time mostly mips, m68k and uml. The dirstat looks li...
May 18, 6:12 pm 2008
Christophe Jaillet
[PATCH 1/1] kconfig: incorrect 'len' field initialisation ?
From: Christophe Jaillet <christophe.jaillet@wanadoo.fr> Hi, here is a patch against /scripts/kconfig/util.c : 1) The field 'len' of the 'gstr' structure seems to track the size of the memory already allocated for the "growable string". So the value of this field should be the same as the 'malloc()' just above, shouldn't it ? Note: this patch is based on 'linux-2.6.25.tar.bz2' Signed-off-by: Christophe Jaillet <christophe.jaillet@wanadoo.fr> --- --- linux 2.6.25/scripts...
May 18, 5:10 pm 2008
Jean Delvare
[GIT PULL] i2c updates and fixes for 2.6.26
Linus, Please pull the i2c subsystem updates and fixes for Linux 2.6.26 from: git://jdelvare.pck.nerim.net/jdelvare-2.6 i2c-for-linus (Note to other readers: please do NOT pull the whole kernel tree from this location, my line wouldn't like it.) You'll get the last pieces of the conversion of the device/driver matching model of the i2c subsystem, blacklisting of 1 motherboard in the i2c-nforce2 SMBus controller driver for safety reasons, and a few random fixes. Sorry for pushing this a bi...
May 18, 4:51 pm 2008
Sitsofe Wheeler
Re: [BUG] unable to handle kernel paging request in next-200...
<posted & mailed> (I've dropped akpm because the mail server doesn't like where I'm sending from with this address) Bad news - the patches all applied to 2.6.26-rc2 / current HEAD but the problem remained. The trace at the end seems slightly different though (alas I have to transcribe): BUG: unable to handle kernel paging request at e725ffac IP: [<c025fdb6>] scsi_bus_uevent+0x1/0x17 *pde = 27845163 *pte = 2725f160 Oops: 0000 [#1] DEBUG_PAGEALLOC [...] dev_uevent de...
May 18, 4:22 pm 2008
Alex Riesen
ieee80211: unable to handle kernel NULL pointer dereference
My laptop (Dell XPS m1330, Core 2 Duo, 64bit, IWL3945) failed to associate today (the AP was *very* busy with a big long transfer). After looking in the logs I found this (full dmesg and the relevant part of syslog attached): May 18 18:59:24 blimp kernel: wlan0: RX deauthentication from 00:16:b6:ed:e7:98 (reason=7) May 18 18:59:24 blimp kernel: wlan0: deauthenticated May 18 18:59:24 blimp kernel: wlan0: RX deauthentication from 00:16:b6:ed:e7:98 (reason=7) May 18 18:59:24 blimp last message repea...
May 18, 4:23 pm 2008
Alex Riesen
ieee80211: unable to handle kernel NULL pointer dereference
My laptop (Dell XPS m1330, Core 2 Duo, 64bit, IWL3945) failed to associate today (the AP was *very* busy with a big long transfer). After looking in the logs I found this (full dmesg and the relevant part of syslog attached): May 18 18:59:24 blimp kernel: wlan0: RX deauthentication from 00:16:b6:ed:e7:98 (reason=7) May 18 18:59:24 blimp kernel: wlan0: deauthenticated May 18 18:59:24 blimp kernel: wlan0: RX deauthentication from 00:16:b6:ed:e7:98 (reason=7) May 18 18:59:24 blimp last message repea...
May 18, 4:22 pm 2008
Adrian McMenamin
[PATCH] input: add support for SEGA Dreamcast controller as ...
Use a Maple controller as a joystick device. Signed-off-by: Adrian McMenamin <adrian@mcmen.demon.co.uk> --- diff -ruN a/drivers/input/joystick/Kconfig b/drivers/input/joystick/Kconfig --- a/drivers/input/joystick/Kconfig 2008-05-18 20:04:42.000000000 +0100 +++ b/drivers/input/joystick/Kconfig 2008-05-18 19:53:42.000000000 +0100 @@ -294,4 +294,17 @@ This option enables support for the LED which surrounds the Big X on XBox 360 controller. +config JOYSTICK_MAPLE + tristate "Dreamca...
May 18, 3:18 pm 2008
Geert Uytterhoeven
[patch 17/18] m68k: Update defconfigs
From: Geert Uytterhoeven <geert@linux-m68k.org> Update the m68k defconfigs Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> --- arch/m68k/configs/amiga_defconfig | 159 ++++++++++++++++++++--------------- arch/m68k/configs/apollo_defconfig | 140 +++++++++++++++++++----------- arch/m68k/configs/atari_defconfig | 143 ++++++++++++++++++++----------- arch/m68k/configs/bvme6000_defconfig | 138 +++++++++++++++++++----------- arch/m68k/configs/hp300_defconfig | 1...
May 18, 2:47 pm 2008
Geert Uytterhoeven
[patch 18/18] m68k: Add multi_defconfig
From: Geert Uytterhoeven <geert@linux-m68k.org> Add multi_defconfig, to build a kernel for all supported m68k platforms, excluding Sun 3 (Sun 3 kernels are incompatible with all other m68k platforms) Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> --- arch/m68k/configs/multi_defconfig | 1269 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 1269 insertions(+) --- /dev/null +++ b/arch/m68k/configs/multi_defconfig @@ -0,0 +1,1269 @@ +# +# Automatically generated ma...
May 18, 2:47 pm 2008
Geert Uytterhoeven
[patch 12/18] m68k: Return -ENODEV if no device is found
From: Geert Uytterhoeven <geert@linux-m68k.org> According to the tests in do_initcalls(), the proper error code in case no device is found is -ENODEV, not -ENXIO or -EIO. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> --- drivers/block/amiflop.c | 6 +++--- drivers/block/z2ram.c | 2 +- drivers/input/serio/q40kbd.c | 2 +- drivers/video/amifb.c | 4 ++-- drivers/video/hpfb.c | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-...
May 18, 2:47 pm 2008
Geert Uytterhoeven
[patch 02/18] m68k: Kill CONFIG_FB_DAFB
From: Geert Uytterhoeven <geert@linux-m68k.org> CONFIG_FB_DAFB is a leftover from pre-Kconfig Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> --- drivers/video/Kconfig | 1 - 1 file changed, 1 deletion(-) --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -627,7 +627,6 @@ config FB_MAC select FB_CFB_IMAGEBLIT select FB_MACMODES -# bool ' Apple DAFB display support' CONFIG_FB_DAFB config FB_HP300 bool depends on (FB = y) && HP300 ...
May 18, 2:47 pm 2008
Geert Uytterhoeven
[patch 15/18] m68k: Prefix ISA type with ISA_TYPE_
From: Geert Uytterhoeven <geert@linux-m68k.org> The *_ISA type defines are quite generic and cause namespace conflicts (e.g. with `AMIGAHW_DECLARE(GG2_ISA)' in <asm/amigahw.h>) for some kernel configurations. Use ISA_TYPE_* to avoid such conflicts. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> --- arch/m68k/kernel/setup.c | 6 +++--- include/asm-m68k/io.h | 44 ++++++++++++++++++++++---------------------- 2 files changed, 25 insertions(+), 25 deletions(-) ...
May 18, 2:47 pm 2008
Geert Uytterhoeven
[patch 06/18] m68k: Make gcc aware that BUG() does not return
From: Geert Uytterhoeven <geert@linux-m68k.org> Use `__builtin_trap()' instead of `asm volatile("illegal")' in the m68k BUG() macros (as suggested by Andrew Pinski), to kill warnings in code that assumes BUG() does not return. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> --- include/asm-m68k/bug.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/include/asm-m68k/bug.h +++ b/include/asm-m68k/bug.h @@ -7,7 +7,7 @@ #ifndef CONFIG_SUN3 #define BUG()...
May 18, 2:47 pm 2008
Geert Uytterhoeven
[patch 10/18] m68k: Some network drivers do not check the pl...
From: Geert Uytterhoeven <geert@linux-m68k.org> Some network drivers do not check whether they're actually running on the correct platform, causing multi-platform kernels to crash if they are not. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> --- drivers/net/82596.c | 7 +++++++ drivers/net/apne.c | 3 +++ drivers/net/mac89x0.c | 3 +++ drivers/net/macmace.c | 3 +++ drivers/net/sun3lance.c | 3 +++ 5 files changed, 19 insertions(+) --- a/...
May 18, 2:47 pm 2008
Geert Uytterhoeven
[patch 11/18] m68k: Some input drivers do not check the plat...
From: Geert Uytterhoeven <geert@linux-m68k.org> Some input drivers do not check whether they're actually running on the correct platform, causing multi-platform kernels to crash if they are not. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> --- drivers/input/keyboard/hilkbd.c | 4 ++++ drivers/input/misc/hp_sdc_rtc.c | 5 +++++ drivers/input/serio/hp_sdc_mlc.c | 5 +++++ 3 files changed, 14 insertions(+) --- a/drivers/input/keyboard/hilkbd.c +++ b/drivers/i...
May 18, 2:47 pm 2008
Geert Uytterhoeven
[patch 14/18] m68k: export m68k_mmutype
From: Geert Uytterhoeven <geert@linux-m68k.org> UIO needs m68k_mmutype: ERROR: "m68k_mmutype" [drivers/uio/uio.ko] undefined! (noticed by Christian T. Steigies) Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> --- arch/m68k/kernel/setup.c | 3 ++- include/asm-m68k/setup.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) --- a/arch/m68k/kernel/setup.c +++ b/arch/m68k/kernel/setup.c @@ -41,11 +41,12 @@ #endif unsigned long m68k_machtype; -unsigne...
May 18, 2:47 pm 2008
Geert Uytterhoeven
[patch 08/18] m68k: macide doesnt check for Mac
From: Geert Uytterhoeven <geert@linux-m68k.org> The Macintosh IDE driver (macide) doesn't check whether it's actually running on Mac hardware, causing a crash if it isn't. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> --- drivers/ide/legacy/macide.c | 3 +++ 1 file changed, 3 insertions(+) --- a/drivers/ide/legacy/macide.c +++ b/drivers/ide/legacy/macide.c @@ -95,6 +95,9 @@ static int __init macide_init(void) int irq; hw_regs_t hw; + if (!MACH_IS_MAC) + ...
May 18, 2:47 pm 2008
Geert Uytterhoeven
[patch 16/18] m68k: Correctly handle multi-ISA at runtime
From: Geert Uytterhoeven <geert@linux-m68k.org> m68k: Correctly handle multi-ISA at runtime in multi-platform kernels Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> --- arch/m68k/kernel/setup.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/arch/m68k/kernel/setup.c +++ b/arch/m68k/kernel/setup.c @@ -346,17 +346,17 @@ void __init setup_arch(char **cmdline_p) /* set ISA defs early as possible */ #if defined(CONFIG_ISA) && defined(MULTI_...
May 18, 2:47 pm 2008
Geert Uytterhoeven
[patch 00/18] Updated m68k patches for 2.6.26
Hi Linus, Andrew, Here is the updated set of m68k patches for 2.6.26: [01] [PATCH] m68k: Convert access_ok() to an inline function [02] [PATCH] m68k: Kill CONFIG_FB_DAFB [03] [PATCH] m68k: FB_HP300 depends on DIO and doesn't need FB_CFB_FILLRECT [04] [PATCH] m68k: Kill CONFIG_WHIPPET_SERIAL [05] [PATCH] m68k vme_scc: avoid global namespace pollution [06] [PATCH] m68k: Make gcc aware that BUG() does not return [07] [PATCH] m68k: Correct jump if not running on HP300 [08] [PATCH] m6...
May 18, 2:47 pm 2008
Geert Uytterhoeven
[patch 13/18] m68k: Q40/Q60 floppy support is broken
From: Geert Uytterhoeven <geert@linux-m68k.org> Mark Q40/Q60 floppy support broken: arch/m68k/q40/q40ints.c: In function 'q40_irq_handler': arch/m68k/q40/q40ints.c:214: error: implicit declaration of function 'floppy_hardint' Including <asm/floppy.h> doesn't help, as it causes a lot of additional error messages (cfr. Sun 3x). Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> --- arch/m68k/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -...
May 18, 2:47 pm 2008
Geert Uytterhoeven
[patch 04/18] m68k: Kill CONFIG_WHIPPET_SERIAL
From: Geert Uytterhoeven <geert@linux-m68k.org> The Hisoft Whippet PCMCIA serial driver has been removed a long time ago, but it's Kconfig symbol still existed. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> --- arch/m68k/Kconfig | 7 ------- 1 file changed, 7 deletions(-) --- a/arch/m68k/Kconfig +++ b/arch/m68k/Kconfig @@ -539,13 +539,6 @@ config AMIGA_BUILTIN_SERIAL To compile this driver as a module, choose M here. -config WHIPPET_SERIAL - tristate "H...
May 18, 2:47 pm 2008
Geert Uytterhoeven
[patch 07/18] m68k: Correct jump if not running on HP300
From: Geert Uytterhoeven <geert@linux-m68k.org> When running a HP300-enabled kernel on non-HP300 hardware, a test in the early startup code jumps to the wrong label, causing a double bus fault. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> --- arch/m68k/kernel/head.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/m68k/kernel/head.S +++ b/arch/m68k/kernel/head.S @@ -1434,7 +1434,7 @@ L(mmu_fixup_done): #endif #ifdef CONFIG_HP300 - is_not_hp3...
May 18, 2:47 pm 2008
Geert Uytterhoeven
[patch 09/18] m68k: dnfb doesnt check for Apollo
From: Geert Uytterhoeven <geert@linux-m68k.org> The Apollo frame buffer device driver (dnfb) doesn't check whether it's actually running on Apollo hardware, causing a crash if it isn't. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> --- drivers/video/dnfb.c | 3 +++ 1 file changed, 3 insertions(+) --- a/drivers/video/dnfb.c +++ b/drivers/video/dnfb.c @@ -284,6 +284,9 @@ int __init dnfb_init(void) { int ret; + if (!MACH_IS_APOLLO) + return -ENODEV; + if...
May 18, 2:47 pm 2008
Geert Uytterhoeven
[patch 03/18] m68k: FB_HP300 depends on DIO and doesnt need ...
From: Geert Uytterhoeven <geert@linux-m68k.org> Correct FB_HP300 dependencies: - FB_HP300 doesn't depend only on HP300, but also on DIO (which depends on HP300) - FB_HP300 does not need FB_CFB_FILLRECT Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> --- drivers/video/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -629,8 +629,7 @@ config FB_MAC config FB_HP300 bool - depends ...
May 18, 2:47 pm 2008
Geert Uytterhoeven
[patch 05/18] m68k vme_scc: avoid global namespace pollution
From: Geert Uytterhoeven <geert@linux-m68k.org> m68k vme_scc: - make scc_ports[] static - kill unused global scc_initialized Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> --- drivers/char/vme_scc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) --- a/drivers/char/vme_scc.c +++ b/drivers/char/vme_scc.c @@ -89,9 +89,7 @@ static void scc_break_ctl(struct tty_str static struct tty_driver *scc_driver; -struct scc_port scc_ports[2]; - -int scc_in...
May 18, 2:47 pm 2008
Geert Uytterhoeven
[patch 01/18] m68k: Convert access_ok() to an inline function
From: Geert Uytterhoeven <geert@linux-m68k.org> Convert access_ok() from a macro to an inline function, so the compiler no longer complains about unused variables: fs/read_write.c: In function 'rw_copy_check_uvector': fs/read_write.c:556: warning: unused variable 'buf' Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> --- include/asm-m68k/uaccess.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) --- a/include/asm-m68k/uaccess.h +++ b/include/asm-m6...
May 18, 2:47 pm 2008
Henrique de Moraes H...
[RFC] rfkill class rework
This patch series contains what is ready so far of my rfkill rework effort. Much has been talked about it already, please refer to the thread started by Message-Id: <1207946244-14525-1-git-send-email-hmh@hmh.eng.br> (http://thread.gmane.org/gmane.linux.kernel/664500) if you don't understand what brought this on. In particular, anyone that still thinks drivers can use the input layer to send rfkill state change messages around, or that rfkill class and input-polldev work as a way to have ...
May 18, 2:47 pm 2008
Henrique de Moraes H...
[PATCH 08/15] rfkill: add read-write rfkill switch support
Currently, rfkill support for read/write rfkill switches is hacked through a round-trip over the input layer and rfkill-input to let a driver sync rfkill->state to hardware changes. This is buggy and sub-optimal. It causes real problems. It is best to think of the rfkill class as supporting only write-only switches at the moment. In order to implement the read/write functionality properly: Add a get_state() hook that is called by the class every time it needs to fetch the current state of...
May 18, 2:47 pm 2008
Henrique de Moraes H...
[PATCH 15/15] rfkill: document rw rfkill switches and clarif...
Rework the documentation so as to make sure driver writers understand exactly where the boundaries are for input drivers related to rfkill switches, buttons and keys, and rfkill class drivers. Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br> Cc: Ivo van Doorn <IvDoorn@gmail.com> Cc: Dmitry Torokhov <dtor@mail.ru> --- Documentation/rfkill.txt | 329 ++++++++++++++++++++++++++++++++++++++------- 1 files changed, 277 insertions(+), 52 deletions(-) diff --git a/Docume...
May 18, 2:48 pm 2008
Henrique de Moraes H...
[PATCH 14/15] rfkill: do not allow userspace to override ALL...
SW_RFKILL_ALL is the "emergency power-off all radios" input event. It must be handled, and must always do the same thing as far as the rfkill system is concerned: all transmitters are to go *immediately* offline. For safety, do NOT allow userspace to override EV_SW SW_RFKILL_ALL OFF. As long as rfkill-input is loaded, that event will *always* be processed, and it will *always* force all rfkill switches to disable all wireless transmitters, regardless of user_claim attribute or anything else. Si...
May 18, 2:48 pm 2008
Henrique de Moraes H...
[PATCH 11/15] rfkill: add notifier chains support
Add a notifier chain for use by the rfkill class. This notifier chain signals the following events (more to be added when needed): 1. rfkill: rfkill device state has changed A pointer to the rfkill struct will be passed as a parameter. The notifier message types have been added to include/linux/rfkill.h instead of to include/linux/notifier.h in order to avoid the madness of modifying a header used globally (and that triggers an almost full tree rebuild every time it is touched) with informat...
May 18, 2:48 pm 2008
Henrique de Moraes H...
[PATCH 10/15] rfkill: rework suspend and resume handlers
The resume handler should reset the wireless transmitter rfkill state to exactly what it was when the system was suspended. Do it, and do it using the normal routines for state change while at it. The suspend handler should force-switch the transmitter to blocked state, ignoring caches. Do it. Also take an opportunity shot to rfkill_remove_switch() and also force the transmitter to blocked state there, bypassing caches. Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br> Cc: Iv...
May 18, 2:48 pm 2008
Henrique de Moraes H...
[PATCH 09/15] rfkill: add the WWAN radio type
Unfortunately, instead of adding a generic Wireless WAN type, a technology- specific type (WiMAX) was added. That's useless for other WWAN devices, such as EDGE, UMTS, X-RTT and other such radios. Add a WWAN rfkill type for generic wireless WAN devices. No keys are added as most devices really want to use KEY_WLAN for WWAN control (in a cycle of none, WLAN, WWAN, WLAN+WWAN) and need no specific keycode added. Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com> Cc: Iñaky Pérez-Go...
May 18, 2:47 pm 2008
Henrique de Moraes H...
[PATCH 13/15] rfkill: add uevent notifications
Use the notification chains to also send uevents, so that userspace can be notified of state changes of every rfkill switch. Userspace should use these events for OSD/status report applications and rfkill GUI frontends. HAL might want to broadcast them over DBUS, for example. It might be also useful for userspace implementations of rfkill-input, or to use HAL as the platform driver which promotes rfkill switch change events into input events (to synchronize all other switches) when necessary for ...
May 18, 2:48 pm 2008
Henrique de Moraes H...
[PATCH 12/15] rfkill: add type string helper
We will need access to the rfkill switch type in string format for more than just sysfs. Therefore, move it to a generic helper. Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br> Cc: Ivo van Doorn <IvDoorn@gmail.com> --- net/rfkill/rfkill.c | 33 +++++++++++++++------------------ 1 files changed, 15 insertions(+), 18 deletions(-) diff --git a/net/rfkill/rfkill.c b/net/rfkill/rfkill.c index 251defe..4ed8d19 100644 --- a/net/rfkill/rfkill.c +++ b/net/rfkill/rfkill.c @@...
May 18, 2:48 pm 2008
Henrique de Moraes H...
[PATCH 07/15] rfkill: add parameter to disable radios by def...
Currently, radios are always enabled when their rfkill interface is registered. This is not optimal, the safest state for a radio is to be offline unless the user turns it on. Add a module parameter that causes all radios to be disabled when their rfkill interface is registered. The module default is not changed so unless the parameter is used, radios will still be forced to their enabled state when they are registered. The new rfkill module parameter is called "default_state". Signed-off-by...
May 18, 2:47 pm 2008
Henrique de Moraes H...
[PATCH 06/15] rfkill: handle SW_RFKILL_ALL events
Teach rfkill-input how to handle SW_RFKILL_ALL events (new name for the SW_RADIO event). SW_RFKILL_ALL is an absolute enable-or-disable command that is tied to all radios in a system. Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br> Cc: Ivo van Doorn <IvDoorn@gmail.com> Cc: Dmitry Torokhov <dtor@mail.ru> --- net/rfkill/rfkill-input.c | 45 +++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 43 insertions(+), 2 deletions(-) diff --git a/net/rfkill/rf...
May 18, 2:47 pm 2008
Henrique de Moraes H...
[PATCH 01/15] ACPI: thinkpad-acpi: fix initialization error ...
Rework some subdriver init and exit handlers, in order to fix some initialization error paths that were missing, or broken. Hitting those bugs should be extremely rare in the real world, but should that happen, thinkpad-acpi would fail to dealocate some resources and a reboot might well be needed to be able to load the driver again. Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br> --- drivers/misc/thinkpad_acpi.c | 435 ++++++++++++++++++++++-------------------- 1 files change...
May 18, 2:47 pm 2008
Henrique de Moraes H...
[PATCH 05/15] rfkill: fix minor typo in kernel doc
Fix a minor typo in an exported function documentation Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br> Cc: Ivo van Doorn <IvDoorn@gmail.com> Cc: John W. Linville <linville@tuxdriver.com> Cc: Dmitry Torokhov <dtor@mail.ru> --- net/rfkill/rfkill.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/net/rfkill/rfkill.c b/net/rfkill/rfkill.c index 4e10a95..f95081a 100644 --- a/net/rfkill/rfkill.c +++ b/net/rfkill/rfkill.c @@ -412,7 +412,7...
May 18, 2:47 pm 2008
Henrique de Moraes H...
[PATCH 04/15] rfkill: clarify meaning of rfkill states
rfkill really should have been named rfswitch. As it is, one can get confused whether RFKILL_STATE_ON means the KILL switch is on (and therefore, the radio is being *blocked* from operating), or whether it means the RADIO rf output is on. Clearly state that RFKILL_STATE_ON means the radio is *unblocked* from operating (i.e. there is no rf killing going on). Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br> Cc: Ivo van Doorn <IvDoorn@gmail.com> Cc: John W. Linville <linv...
May 18, 2:47 pm 2008
Henrique de Moraes H...
[PATCH 03/15] Input: rename SW_RADIO to SW_RFKILL_ALL (v2)
The SW_RADIO code for EV_SW events has a name that is not descriptive enough of its intended function, and could induce someone to think KEY_RADIO is its EV_KEY counterpart, which is false. Rename it to SW_RFKILL_ALL, and document what this event is for. Keep the old name around, to avoid userspace ABI breaks. The SW_RFKILL_ALL event is meant to be used by rfkill master switches. It is not bound to a particular radio switch type, and usually applies to all types. It is semantically tied to mas...
May 18, 2:47 pm 2008
Henrique de Moraes H...
[PATCH 02/15] ACPI: thinkpad-acpi: fix LED handling on older...
The less tested codepaths for LED handling, used on ThinkPads 570, 600e/x, 770e, 770x, A21e, A2xm/p, T20-22, X20 and maybe a few others, would write data to kernel memory it had no business touching, for leds number 3 and above. If one is lucky, that illegal write would cause an OOPS, but chances are it would silently corrupt a byte. The problem was introduced in commit af116101, "ACPI: thinkpad-acpi: add sysfs led class support to thinkpad leds (v3.2)". Fix the bug by refactoring the entire cod...
May 18, 2:47 pm 2008
Denis Cheng
[PATCH] net/ipv4/arp.c: Use the exported hex_asc from lib/he...
Here the local hexbuf is a duplicate of global const char hex_asc from lib/hexdump.c, except the hex letters' cases: const char hexbuf[] = "0123456789ABCDEF"; const char hex_asc[] = "0123456789abcdef"; and here to print HW addresses, the hex cases are not significant. Signed-off-by: Denis Cheng <crquan@gmail.com> --- net/ipv4/arp.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/net/ipv4/arp.c b/net/ipv4/arp.c index 418862f..f460fa0 100644 --- a/net/ip...
May 18, 2:37 pm 2008
Bartlomiej Zolnierki...
[PATCH 00/40] ide: generic ATAPI support
Hi, This patch series unifies ATAPI support present in ide-{floppy,tape,scsi} device drivers and moves it out to the core IDE code (new ide-atapi.c file). In the process many bugs were shaken out and ~300 LOC were removed. diffstat: drivers/ide/Kconfig | 6 drivers/ide/Makefile | 1 drivers/ide/ide-atapi.c | 296 ++++++++++++++++++++++ drivers/ide/ide-cd.c | 5 drivers/ide/ide-floppy.c | 431 +++++++------------------------- drivers/ide/ide-tape.c | 630 ++...
May 18, 2:54 pm 2008
Bartlomiej Zolnierki...
[PATCH 40/40] ide: add ide_pc_intr() helper
* ide-tape.c: add 'drive' argument to idetape_update_buffers(). * Add generic ide_pc_intr() helper to ide-atapi.c and then convert ide-{floppy,tape,scsi} device drivers to use it. * ide-tape.c: remove no longer needed DBG_PC_INTR. There should be no functional changes caused by this patch (unless the debugging is explicitely compiled in). Cc: Borislav Petkov <petkovbb@gmail.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/ide-atapi.c | 177 ...
May 18, 3:00 pm 2008
Bartlomiej Zolnierki...
[PATCH 39/40] ide-{floppy,scsi}: read Status Register before...
Read Status Register before stopping DMA engine to match ide-tape device driver - it should be safe and shouldn't affect anything. This is a preparation for adding generic ide_pc_intr() helper. Cc: Borislav Petkov <petkovbb@gmail.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/ide/ide-floppy.c | 6 +++--- drivers/scsi/ide-scsi.c | 7 ++++--- 2 files changed, 7 insertions(+), 6 deletions(-) Index: b/drivers/ide/ide-floppy.c ==================...
May 18, 3:00 pm 2008
Bartlomiej Zolnierki...
[PATCH 38/40] ide-scsi: add more debugging to idescsi_pc_int...
Add more debugging to idescsi_pc_intr() to match ide-tape's idetape_pc_intr(). While at it: * Correct the first debug message. This is a preparation for adding generic ide_pc_intr() helper. Cc: Borislav Petkov <petkovbb@gmail.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> --- drivers/scsi/ide-scsi.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) Index: b/drivers/scsi/ide-scsi.c =====================================================...
May 18, 3:00 pm 2008
previous daytodaynext day
May 17, 2008May 18, 2008May 19, 2008