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
acorn.h
/*
 * linux/fs/partitions/acorn.h
 *
 * Copyright (C) 1996-2001 Russell King.
 *
 *  I _hate_ this partitioning mess - why can't we have one defined
 *  format, and everyone stick to it?
 */

int adfspart_check_CUMANA(struct parsed_partitions *state);
int adfspart_check_ADFS(struct parsed_partitions *state);
int adfspart_check_ICS(struct parsed_partitions *state);
int adfspart_check_POWERTEC(struct parsed_partitions *state);
int adfspart_check_EESOX(struct parsed_partitions *state);
back to top