Repository navigation
Commit 822fbd3
IB/hfi1: Fix module use count flaw due to leftover module put calls
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: 09fbca8 ("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>1 parent b46925a commit 822fbd3
1 file changed
Lines changed: 2 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
985 | 985 | | |
986 | 986 | | |
987 | 987 | | |
988 | | - | |
989 | 988 | | |
990 | 989 | | |
991 | 990 | | |
992 | | - | |
993 | | - | |
994 | | - | |
995 | | - | |
996 | | - | |
| 991 | + | |
997 | 992 | | |
998 | 993 | | |
999 | 994 | | |
| |||
1013 | 1008 | | |
1014 | 1009 | | |
1015 | 1010 | | |
1016 | | - | |
1017 | 1011 | | |
1018 | 1012 | | |
1019 | 1013 | | |
| |||
1031 | 1025 | | |
1032 | 1026 | | |
1033 | 1027 | | |
1034 | | - | |
1035 | | - | |
1036 | | - | |
1037 | | - | |
1038 | 1028 | | |
1039 | 1029 | | |
1040 | 1030 | | |
1041 | | - | |
1042 | | - | |
1043 | | - | |
1044 | | - | |
1045 | | - | |
| 1031 | + | |
1046 | 1032 | | |
1047 | 1033 | | |
1048 | 1034 | | |
| |||
1062 | 1048 | | |
1063 | 1049 | | |
1064 | 1050 | | |
1065 | | - | |
1066 | 1051 | | |
1067 | 1052 | | |
1068 | 1053 | | |
| |||
0 commit comments