Prev: [PATCH 54/67] serial: general fixes in the serial_rs485 structure
Next: [PATCH 63/67] hsu: some code cleanup
From: Greg Kroah-Hartman on 5 Aug 2010 18:40 From: Jike Song <albcamus(a)gmail.com> Reported-by: huangweibing(a)gmail.com Signed-off-by: Jike Song <albcamus(a)gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh(a)suse.de> --- drivers/base/bus.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/base/bus.c b/drivers/base/bus.c index 12eec3f..eb1b7fa 100644 --- a/drivers/base/bus.c +++ b/drivers/base/bus.c @@ -945,8 +945,8 @@ bus_devices_fail: bus_remove_file(bus, &bus_attr_uevent); bus_uevent_fail: kset_unregister(&bus->p->subsys); - kfree(bus->p); out: + kfree(bus->p); bus->p = NULL; return retval; } -- 1.7.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |