commit | dcb308209197040d65046f33b819b3b64a05247d | [log] [tgz] |
---|---|---|
author | Paul Bolle <pebolle@tiscali.nl> | Fri Jul 31 14:08:58 2015 +0200 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sun Apr 05 10:21:48 2020 +0200 |
tree | 6ee05da895db56b16546714120b1b645f17f60f6 | |
parent | c1d83f467f3da75d39135a8d1689164cc8636ebb [diff] |
windfarm: decrement client count when unregistering commit fe2b592173ff0274e70dc44d1d28c19bb995aa7c upstream. wf_unregister_client() increments the client count when a client unregisters. That is obviously incorrect. Decrement that client count instead. Fixes: 75722d3992f5 ("[PATCH] ppc64: Thermal control for SMU based machines") Signed-off-by: Paul Bolle <pebolle@tiscali.nl> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Zefan Li <lizefan@huawei.com>