commit | 722faae3826ad45ea3207916f631e187ec93aab0 | [log] [tgz] |
---|---|---|
author | Taehee Yoo <ap420073@gmail.com> | Thu Oct 08 15:51:57 2020 +0000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Dec 30 11:53:35 2020 +0100 |
tree | aa768b40cd143b4d6de1c3beeb9bc68a12dc5d7b | |
parent | 28f41cc1baed02f7ad2ccf597482f282299c7280 [diff] |
mt76: mt7915: set fops_sta_stats.owner to THIS_MODULE [ Upstream commit 5efbe3b1b8992d5f837388091920945c23212159 ] If THIS_MODULE is not set, the module would be removed while debugfs is being used. It eventually makes kernel panic. Fixes: ec9742a8f38e ("mt76: mt7915: add .sta_add_debugfs support") Signed-off-by: Taehee Yoo <ap420073@gmail.com> Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Sasha Levin <sashal@kernel.org>