summaryrefslogtreecommitdiff
path: root/drivers/virt
diff options
context:
space:
mode:
authorAlexander Usyskin <alexander.usyskin@intel.com>2016-11-16 22:51:28 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-11-17 16:37:49 +0100
commitc110cdb171488c60295d49fda16634cfec58ae28 (patch)
treef3edd6897111ed220fcd73358b3aa293d721f788 /drivers/virt
parentbd47b5269dbb316211fee18c706d015adbf1d696 (diff)
mei: bus: make a client pointer always available
Change life time of the client pointer, allocate it upon client device creation and free it upon device destruction, instead of upon connection and disconnection. This helps to eliminate racy NULL checks in the bus code. Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/virt')
0 files changed, 0 insertions, 0 deletions