commit | 1bf1950c4e3ab6f8dad6b1b8c609de4eccb095a8 | [log] [tgz] |
---|---|---|
author | Junjie Mao <junjie.mao@hotmail.com> | Thu Jan 29 09:13:55 2015 +0800 |
committer | Borislav Petkov <bp@suse.de> | Fri Jan 30 14:38:45 2015 +0100 |
tree | 7360f7d5502df26c15ff9e6bbca1fb62f0f779e0 | |
parent | a4972b1b9a04439c2dc15a98b333ed28378d3509 [diff] |
EDAC: Fix the leak of mci->bus->name when bus_register fails Also use goto labels for all failure paths in edac_create_sysfs_mci_device and update meaningless labels. Signed-off-by: Junjie Mao <junjie.mao@hotmail.com> Link: http://lkml.kernel.org/r/BLU436-SMTP25291B6B612942A212AEBFE95300@phx.gbl [ Boris: Use ! for 0 checks and add newlines for less crammed code. ] Signed-off-by: Borislav Petkov <bp@suse.de>