diff options
author | Junjie Mao <junjie.mao@hotmail.com> | 2015-01-29 09:13:55 +0800 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2015-01-30 14:38:45 +0100 |
commit | 1bf1950c4e3ab6f8dad6b1b8c609de4eccb095a8 (patch) | |
tree | 7360f7d5502df26c15ff9e6bbca1fb62f0f779e0 /mm/vmalloc.c | |
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>
Diffstat (limited to 'mm/vmalloc.c')
0 files changed, 0 insertions, 0 deletions