[KJ] [PATCH] misc_register error return handling
Tobias Klauser
tklauser at distanz.ch
Mon Sep 25 02:25:28 PDT 2006
On 2006-09-25 at 10:59:00 +0200, Amol Lad <amol at verismonetworks.com> wrote:
> Ignore previous patch (mail client linewrap issue...)
>
> Some drivers do not handle failure of misc_register.
>
> Added return value checks appropriately in defaulting drivers
>
> Tested with:
> - allmodconfig
> - Manually tweaking Kconfig/Makefiles to make sure that the changed
> files compiles without any errors/warnings
>
> Signed-off-by: Amol Lad <amol at verismonetworks.com>
> ---
> arch/i386/kernel/apm.c | 23 +++++++++++++++++------
> arch/um/drivers/mmapper_kern.c | 6 ++++--
> arch/x86_64/kernel/mce.c | 6 +++++-
> drivers/char/watchdog/ep93xx_wdt.c | 4 ++++
> drivers/input/misc/hp_sdc_rtc.c | 7 ++++++-
> drivers/macintosh/apm_emu.c | 8 +++++++-
> drivers/macintosh/smu.c | 11 ++++++++---
> drivers/macintosh/via-pmu.c | 11 ++++++++---
Split up by driver/subsystem, please.
More information about the Kernel-janitors
mailing list