mei: release me_cl object reference
authorAlexander Usyskin <alexander.usyskin@intel.com>
Tue, 12 May 2020 22:31:40 +0000 (01:31 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 May 2020 15:46:47 +0000 (17:46 +0200)
commit46f47dda27bc43176c018f96b2b14248c10bdc17
tree0c0ed16ccf8a928b2b09cd796fa5e45167f546be
parentf505a3e24c6a84417f3e9983cc59ccded531459c
mei: release me_cl object reference

commit fc9c03ce30f79b71807961bfcb42be191af79873 upstream.

Allow me_cl object to be freed by releasing the reference
that was acquired  by one of the search functions:
__mei_me_cl_by_uuid_id() or __mei_me_cl_by_uuid()

Cc: <stable@vger.kernel.org>
Reported-by: 亿一 <teroincn@gmail.com>
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Link: https://lore.kernel.org/r/20200512223140.32186-1-tomas.winkler@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/client.c