Re: [KJ] [PATCH] misc_register error return handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2006-09-25 at 10:59:00 +0200, Amol Lad <[email protected]> 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 <[email protected]>
> ---
>  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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux