diff options
author | Dennis Dalessandro <dennis.dalessandro@intel.com> | 2020-06-23 16:32:30 -0400 |
---|---|---|
committer | Sasha Levin <sashal@kernel.org> | 2020-06-30 15:36:53 -0400 |
commit | 21d511c6c9c25bd45acfafd9768027394a0fddb3 (patch) | |
tree | 086cb069dc7f465c924f247262d3dd1feb0a1a77 /drivers/bus | |
parent | 2a4c0bf5c70eabd2b1f6f730a32bcad53e860085 (diff) | |
download | linux-stable-21d511c6c9c25bd45acfafd9768027394a0fddb3.tar.gz linux-stable-21d511c6c9c25bd45acfafd9768027394a0fddb3.tar.bz2 linux-stable-21d511c6c9c25bd45acfafd9768027394a0fddb3.zip |
IB/hfi1: Fix module use count flaw due to leftover module put calls
commit 822fbd37410639acdae368ea55477ddd3498651d upstream.
When the try_module_get calls were removed from opening and closing of the
i2c debugfs file, the corresponding module_put calls were missed. This
results in an inaccurate module use count that requires a power cycle to
fix.
Fixes: 09fbca8e6240 ("IB/hfi1: No need to use try_module_get for debugfs")
Link: https://lore.kernel.org/r/20200623203230.106975.76240.stgit@awfm-01.aw.intel.com
Cc: <stable@vger.kernel.org>
Reviewed-by: Kaike Wan <kaike.wan@intel.com>
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/bus')
0 files changed, 0 insertions, 0 deletions