https://github.com/torvalds/linux
Revision e73b49f1c4e75c44d62585cc3e5b9c7894b61c32 authored by Roger Quadros on 10 July 2014, 06:25:02 UTC, committed by Greg Kroah-Hartman on 12 July 2014, 01:23:49 UTC
Prevent resources from being freed twice in case device_add() call
fails within phy_create(). Also use ida_simple_remove() instead of
ida_remove() as we had used ida_simple_get() to allocate the ida.

Cc: 3.13+ <stable@vger.kernel.org> # 3.13+
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent bf5baf9
Raw File
Tip revision: e73b49f1c4e75c44d62585cc3e5b9c7894b61c32 authored by Roger Quadros on 10 July 2014, 06:25:02 UTC
phy: core: Fix error path in phy_create()
Tip revision: e73b49f
aix.h
extern int aix_partition(struct parsed_partitions *state);
back to top