Re: [PATCH 1/3] drivers/base/core: improve device_add() error handling, fix bugs

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

 



On Wed, 18 Jul 2007 01:53:48 -0400,
Jeff Garzik <[email protected]> wrote:

> 
> The following change was checked into 'warnings' branch of
> git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/misc-2.6.git
> 
> commit 5330916f5a11d8b7def46a6b3e14a831684032f5
> Author: Jeff Garzik <[email protected]>
> Date:   Wed Jul 18 01:41:29 2007 -0400
> 
>     drivers/base/core: improve device_add() error handling, fix bugs
>     
>     * silence several warnings by handling sysfs_create_link() failure
>     
>     * re-order some operations in error handling, to precisely reverse
>       the order of operations, i.e. unwind properly.
>     
>     Signed-off-by: Jeff Garzik <[email protected]>
> 
>  drivers/base/core.c |   46 ++++++++++++++++++++++++++++++----------------
>  1 file changed, 30 insertions(+), 16 deletions(-)

Hm, what about driver-core-check-return-code-of-sysfs_create_link.patch
(merged with ...-fix.patch) which has been in -mm for a while?
-
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