* [PATCH net 002/117] mac80211: set rcname_ops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:50 ` [PATCH net 003/117] mac80211: set minstrel_ht_stat_fops.owner " Taehee Yoo
` (115 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 4b7679a561e5 ("mac80211: clean up rate control API")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
net/mac80211/rate.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/mac80211/rate.c b/net/mac80211/rate.c
index b051f125d3af..4f9d33fc895e 100644
--- a/net/mac80211/rate.c
+++ b/net/mac80211/rate.c
@@ -218,6 +218,7 @@ const struct file_operations rcname_ops = {
.read = rcname_read,
.open = simple_open,
.llseek = default_llseek,
+ .owner = THIS_MODULE,
};
#endif
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 003/117] mac80211: set minstrel_ht_stat_fops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
2020-10-08 15:50 ` [PATCH net 002/117] mac80211: set rcname_ops.owner to THIS_MODULE Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:50 ` [PATCH net 004/117] mac80211: set minstrel_ht_stat_csv_fops.owner " Taehee Yoo
` (114 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: ec8aa669b839 ("mac80211: add the minstrel_ht rate control algorithm")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
net/mac80211/rc80211_minstrel_ht_debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/mac80211/rc80211_minstrel_ht_debugfs.c b/net/mac80211/rc80211_minstrel_ht_debugfs.c
index bebb71917742..6021e394e5da 100644
--- a/net/mac80211/rc80211_minstrel_ht_debugfs.c
+++ b/net/mac80211/rc80211_minstrel_ht_debugfs.c
@@ -173,6 +173,7 @@ static const struct file_operations minstrel_ht_stat_fops = {
.read = minstrel_stats_read,
.release = minstrel_stats_release,
.llseek = no_llseek,
+ .owner = THIS_MODULE,
};
static char *
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 004/117] mac80211: set minstrel_ht_stat_csv_fops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
2020-10-08 15:50 ` [PATCH net 002/117] mac80211: set rcname_ops.owner to THIS_MODULE Taehee Yoo
2020-10-08 15:50 ` [PATCH net 003/117] mac80211: set minstrel_ht_stat_fops.owner " Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:50 ` [PATCH net 005/117] mac80211: set KEY_OPS.owner " Taehee Yoo
` (113 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 2cae0b6a70d6 ("mac80211: add new Minstrel-HT statistic output via csv")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
net/mac80211/rc80211_minstrel_ht_debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/mac80211/rc80211_minstrel_ht_debugfs.c b/net/mac80211/rc80211_minstrel_ht_debugfs.c
index 6021e394e5da..cdb51aa460a3 100644
--- a/net/mac80211/rc80211_minstrel_ht_debugfs.c
+++ b/net/mac80211/rc80211_minstrel_ht_debugfs.c
@@ -312,6 +312,7 @@ static const struct file_operations minstrel_ht_stat_csv_fops = {
.read = minstrel_stats_read,
.release = minstrel_stats_release,
.llseek = no_llseek,
+ .owner = THIS_MODULE,
};
void
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 005/117] mac80211: set KEY_OPS.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (2 preceding siblings ...)
2020-10-08 15:50 ` [PATCH net 004/117] mac80211: set minstrel_ht_stat_csv_fops.owner " Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:50 ` [PATCH net 006/117] mac80211: set KEY_OPS_W.owner " Taehee Yoo
` (112 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: e9f207f0ff90 ("[MAC80211]: Add debugfs attributes.")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
net/mac80211/debugfs_key.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/mac80211/debugfs_key.c b/net/mac80211/debugfs_key.c
index 98a713475e0f..ea5908465f2e 100644
--- a/net/mac80211/debugfs_key.c
+++ b/net/mac80211/debugfs_key.c
@@ -30,6 +30,7 @@ static const struct file_operations key_ ##name## _ops = { \
.read = key_##name##_read, \
.open = simple_open, \
.llseek = generic_file_llseek, \
+ .owner = THIS_MODULE, \
}
#define KEY_OPS_W(name) \
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 006/117] mac80211: set KEY_OPS_W.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (3 preceding siblings ...)
2020-10-08 15:50 ` [PATCH net 005/117] mac80211: set KEY_OPS.owner " Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:50 ` [PATCH net 007/117] mac80211: set KEY_CONF_OPS.owner " Taehee Yoo
` (111 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: d0a77c6569ab ("mac80211: allow writing TX PN in debugfs")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
net/mac80211/debugfs_key.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/mac80211/debugfs_key.c b/net/mac80211/debugfs_key.c
index ea5908465f2e..b5fe68b683e7 100644
--- a/net/mac80211/debugfs_key.c
+++ b/net/mac80211/debugfs_key.c
@@ -39,6 +39,7 @@ static const struct file_operations key_ ##name## _ops = { \
.write = key_##name##_write, \
.open = simple_open, \
.llseek = generic_file_llseek, \
+ .owner = THIS_MODULE, \
}
#define KEY_FILE(name, format) \
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 007/117] mac80211: set KEY_CONF_OPS.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (4 preceding siblings ...)
2020-10-08 15:50 ` [PATCH net 006/117] mac80211: set KEY_OPS_W.owner " Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:50 ` [PATCH net 008/117] mac80211: set STA_OPS.owner " Taehee Yoo
` (110 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 8f20fc24986a ("[MAC80211]: embed key conf in key, fix driver interface")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
net/mac80211/debugfs_key.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/mac80211/debugfs_key.c b/net/mac80211/debugfs_key.c
index b5fe68b683e7..d7c0c28045ef 100644
--- a/net/mac80211/debugfs_key.c
+++ b/net/mac80211/debugfs_key.c
@@ -55,6 +55,7 @@ static const struct file_operations key_ ##name## _ops = { \
.read = key_conf_##name##_read, \
.open = simple_open, \
.llseek = generic_file_llseek, \
+ .owner = THIS_MODULE, \
}
#define KEY_CONF_FILE(name, format) \
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 008/117] mac80211: set STA_OPS.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (5 preceding siblings ...)
2020-10-08 15:50 ` [PATCH net 007/117] mac80211: set KEY_CONF_OPS.owner " Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:50 ` [PATCH net 009/117] mac80211: set STA_OPS_RW.owner " Taehee Yoo
` (109 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: e9f207f0ff90 ("[MAC80211]: Add debugfs attributes.")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
net/mac80211/debugfs_sta.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/mac80211/debugfs_sta.c b/net/mac80211/debugfs_sta.c
index 829dcad69c2c..d3366989c6f9 100644
--- a/net/mac80211/debugfs_sta.c
+++ b/net/mac80211/debugfs_sta.c
@@ -34,6 +34,7 @@ static const struct file_operations sta_ ##name## _ops = { \
.read = sta_##name##_read, \
.open = simple_open, \
.llseek = generic_file_llseek, \
+ .owner = THIS_MODULE, \
}
#define STA_OPS_RW(name) \
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 009/117] mac80211: set STA_OPS_RW.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (6 preceding siblings ...)
2020-10-08 15:50 ` [PATCH net 008/117] mac80211: set STA_OPS.owner " Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:50 ` [PATCH net 010/117] mac80211: set DEBUGFS_READONLY_FILE_OPS.owner " Taehee Yoo
` (108 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: a75b4363eaaf ("mac80211: allow controlling aggregation manually")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
net/mac80211/debugfs_sta.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/mac80211/debugfs_sta.c b/net/mac80211/debugfs_sta.c
index d3366989c6f9..9ce49346c32a 100644
--- a/net/mac80211/debugfs_sta.c
+++ b/net/mac80211/debugfs_sta.c
@@ -43,6 +43,7 @@ static const struct file_operations sta_ ##name## _ops = { \
.write = sta_##name##_write, \
.open = simple_open, \
.llseek = generic_file_llseek, \
+ .owner = THIS_MODULE, \
}
#define STA_FILE(name, field, format) \
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 010/117] mac80211: set DEBUGFS_READONLY_FILE_OPS.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (7 preceding siblings ...)
2020-10-08 15:50 ` [PATCH net 009/117] mac80211: set STA_OPS_RW.owner " Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:50 ` [PATCH net 011/117] mac80211: set aqm_ops.owner " Taehee Yoo
` (107 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: e9f207f0ff90 ("[MAC80211]: Add debugfs attributes.")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
net/mac80211/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/mac80211/debugfs.c b/net/mac80211/debugfs.c
index 54080290d6e2..669d7e13ffe8 100644
--- a/net/mac80211/debugfs.c
+++ b/net/mac80211/debugfs.c
@@ -46,6 +46,7 @@ static const struct file_operations name## _ops = { \
.read = name## _read, \
.open = simple_open, \
.llseek = generic_file_llseek, \
+ .owner = THIS_MODULE, \
};
#define DEBUGFS_READONLY_FILE(name, fmt, value...) \
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 011/117] mac80211: set aqm_ops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (8 preceding siblings ...)
2020-10-08 15:50 ` [PATCH net 010/117] mac80211: set DEBUGFS_READONLY_FILE_OPS.owner " Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:50 ` [PATCH net 012/117] mac80211: debugfs: set airtime_flags_ops.owner " Taehee Yoo
` (106 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 9399b86c0e9a ("mac80211: add debug knobs for fair queuing")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
net/mac80211/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/mac80211/debugfs.c b/net/mac80211/debugfs.c
index 669d7e13ffe8..e2675db7490b 100644
--- a/net/mac80211/debugfs.c
+++ b/net/mac80211/debugfs.c
@@ -149,6 +149,7 @@ static const struct file_operations aqm_ops = {
.read = aqm_read,
.open = simple_open,
.llseek = default_llseek,
+ .owner = THIS_MODULE,
};
static ssize_t airtime_flags_read(struct file *file,
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 012/117] mac80211: debugfs: set airtime_flags_ops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (9 preceding siblings ...)
2020-10-08 15:50 ` [PATCH net 011/117] mac80211: set aqm_ops.owner " Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:50 ` [PATCH net 013/117] mac80211: set aql_txq_limit_ops.owner " Taehee Yoo
` (105 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: e322c07f8371 ("mac80211: debugfs: improve airtime_flags handler readability")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
net/mac80211/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/mac80211/debugfs.c b/net/mac80211/debugfs.c
index e2675db7490b..794892fe6622 100644
--- a/net/mac80211/debugfs.c
+++ b/net/mac80211/debugfs.c
@@ -203,6 +203,7 @@ static const struct file_operations airtime_flags_ops = {
.read = airtime_flags_read,
.open = simple_open,
.llseek = default_llseek,
+ .owner = THIS_MODULE,
};
static ssize_t aql_txq_limit_read(struct file *file,
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 013/117] mac80211: set aql_txq_limit_ops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (10 preceding siblings ...)
2020-10-08 15:50 ` [PATCH net 012/117] mac80211: debugfs: set airtime_flags_ops.owner " Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:50 ` [PATCH net 014/117] mac80211: set force_tx_status_ops.owner " Taehee Yoo
` (104 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 3ace10f5b5ad ("mac80211: Implement Airtime-based Queue Limit (AQL)")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
net/mac80211/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/mac80211/debugfs.c b/net/mac80211/debugfs.c
index 794892fe6622..ff690feb56a4 100644
--- a/net/mac80211/debugfs.c
+++ b/net/mac80211/debugfs.c
@@ -285,6 +285,7 @@ static const struct file_operations aql_txq_limit_ops = {
.read = aql_txq_limit_read,
.open = simple_open,
.llseek = default_llseek,
+ .owner = THIS_MODULE,
};
static ssize_t force_tx_status_read(struct file *file,
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 014/117] mac80211: set force_tx_status_ops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (11 preceding siblings ...)
2020-10-08 15:50 ` [PATCH net 013/117] mac80211: set aql_txq_limit_ops.owner " Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:50 ` [PATCH net 015/117] mac80211: set reset_ops.owner " Taehee Yoo
` (103 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 276d9e82e06c ("mac80211: debugfs option to force TX status frames")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
net/mac80211/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/mac80211/debugfs.c b/net/mac80211/debugfs.c
index ff690feb56a4..a3f3e3add3c2 100644
--- a/net/mac80211/debugfs.c
+++ b/net/mac80211/debugfs.c
@@ -338,6 +338,7 @@ static const struct file_operations force_tx_status_ops = {
.read = force_tx_status_read,
.open = simple_open,
.llseek = default_llseek,
+ .owner = THIS_MODULE,
};
#ifdef CONFIG_PM
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 015/117] mac80211: set reset_ops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (12 preceding siblings ...)
2020-10-08 15:50 ` [PATCH net 014/117] mac80211: set force_tx_status_ops.owner " Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:50 ` [PATCH net 016/117] mac80211: set DEBUGFS_DEVSTATS_FILE.owner " Taehee Yoo
` (102 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 827b1fb44b7e ("mac80211: resume properly, add suspend/resume test")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
net/mac80211/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/mac80211/debugfs.c b/net/mac80211/debugfs.c
index a3f3e3add3c2..97eec43a6945 100644
--- a/net/mac80211/debugfs.c
+++ b/net/mac80211/debugfs.c
@@ -359,6 +359,7 @@ static const struct file_operations reset_ops = {
.write = reset_write,
.open = simple_open,
.llseek = noop_llseek,
+ .owner = THIS_MODULE,
};
#endif
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 016/117] mac80211: set DEBUGFS_DEVSTATS_FILE.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (13 preceding siblings ...)
2020-10-08 15:50 ` [PATCH net 015/117] mac80211: set reset_ops.owner " Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:50 ` [PATCH net 017/117] mac80211/cfg80211: set DEBUGFS_READONLY_FILE.owner " Taehee Yoo
` (101 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: e9f207f0ff90 ("[MAC80211]: Add debugfs attributes.")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
net/mac80211/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/mac80211/debugfs.c b/net/mac80211/debugfs.c
index 97eec43a6945..adde0b2797c9 100644
--- a/net/mac80211/debugfs.c
+++ b/net/mac80211/debugfs.c
@@ -542,6 +542,7 @@ static const struct file_operations stats_ ##name## _ops = { \
.read = stats_ ##name## _read, \
.open = simple_open, \
.llseek = generic_file_llseek, \
+ .owner = THIS_MODULE, \
};
#define DEBUGFS_STATS_ADD(name) \
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 017/117] mac80211/cfg80211: set DEBUGFS_READONLY_FILE.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (14 preceding siblings ...)
2020-10-08 15:50 ` [PATCH net 016/117] mac80211: set DEBUGFS_DEVSTATS_FILE.owner " Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:50 ` [PATCH net 018/117] cfg80211: set ht40allow_map_ops.owner " Taehee Yoo
` (100 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 1ac61302dcd1 ("mac80211/cfg80211: move wiphy specific debugfs entries to cfg80211")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
net/wireless/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/wireless/debugfs.c b/net/wireless/debugfs.c
index 76b845f68ac8..a00ebcc552e9 100644
--- a/net/wireless/debugfs.c
+++ b/net/wireless/debugfs.c
@@ -26,6 +26,7 @@ static const struct file_operations name## _ops = { \
.read = name## _read, \
.open = simple_open, \
.llseek = generic_file_llseek, \
+ .owner = THIS_MODULE, \
}
DEBUGFS_READONLY_FILE(rts_threshold, 20, "%d",
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 018/117] cfg80211: set ht40allow_map_ops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (15 preceding siblings ...)
2020-10-08 15:50 ` [PATCH net 017/117] mac80211/cfg80211: set DEBUGFS_READONLY_FILE.owner " Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:50 ` [PATCH net 019/117] net: hsr: set hsr_fops.owner " Taehee Yoo
` (99 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 80a3511d70e8 ("cfg80211: add debugfs HT40 allow map")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
net/wireless/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/wireless/debugfs.c b/net/wireless/debugfs.c
index a00ebcc552e9..eb54c0ac4728 100644
--- a/net/wireless/debugfs.c
+++ b/net/wireless/debugfs.c
@@ -98,6 +98,7 @@ static const struct file_operations ht40allow_map_ops = {
.read = ht40allow_map_read,
.open = simple_open,
.llseek = default_llseek,
+ .owner = THIS_MODULE,
};
#define DEBUGFS_ADD(name) \
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 019/117] net: hsr: set hsr_fops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (16 preceding siblings ...)
2020-10-08 15:50 ` [PATCH net 018/117] cfg80211: set ht40allow_map_ops.owner " Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:50 ` [PATCH net 020/117] batman-adv: set batadv_log_fops.owner " Taehee Yoo
` (98 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: fc4ecaeebd26 ("net: hsr: add debugfs support for display node list")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
net/hsr/hsr_debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/hsr/hsr_debugfs.c b/net/hsr/hsr_debugfs.c
index 7e11a6c35bc3..92ebb5ff41e4 100644
--- a/net/hsr/hsr_debugfs.c
+++ b/net/hsr/hsr_debugfs.c
@@ -90,6 +90,7 @@ static const struct file_operations hsr_fops = {
.read = seq_read,
.llseek = seq_lseek,
.release = single_release,
+ .owner = THIS_MODULE,
};
/* hsr_debugfs_init - create hsr node_table file for dumping
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 020/117] batman-adv: set batadv_log_fops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (17 preceding siblings ...)
2020-10-08 15:50 ` [PATCH net 019/117] net: hsr: set hsr_fops.owner " Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:50 ` [PATCH net 021/117] 6lowpan: iphc: set lowpan_ctx_pfx_fops.owner " Taehee Yoo
` (97 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 9e466250ede3 ("batman-adv: Prefix bat_debugfs local static functions with batadv_")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
net/batman-adv/log.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/batman-adv/log.c b/net/batman-adv/log.c
index a67b2b091447..5f887bca2549 100644
--- a/net/batman-adv/log.c
+++ b/net/batman-adv/log.c
@@ -180,6 +180,7 @@ static const struct file_operations batadv_log_fops = {
.read = batadv_log_read,
.poll = batadv_log_poll,
.llseek = no_llseek,
+ .owner = THIS_MODULE,
};
/**
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 021/117] 6lowpan: iphc: set lowpan_ctx_pfx_fops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (18 preceding siblings ...)
2020-10-08 15:50 ` [PATCH net 020/117] batman-adv: set batadv_log_fops.owner " Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:50 ` [PATCH net 022/117] netdevsim: set nsim_dev_health_break_fops.owner " Taehee Yoo
` (96 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 5609c185f24d ("6lowpan: iphc: add support for stateful compression")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
net/6lowpan/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/6lowpan/debugfs.c b/net/6lowpan/debugfs.c
index 1c140af06d52..29c3627a00e2 100644
--- a/net/6lowpan/debugfs.c
+++ b/net/6lowpan/debugfs.c
@@ -161,6 +161,7 @@ static const struct file_operations lowpan_ctx_pfx_fops = {
.write = lowpan_ctx_pfx_write,
.llseek = seq_lseek,
.release = single_release,
+ .owner = THIS_MODULE,
};
static void lowpan_dev_debugfs_ctx_init(struct net_device *dev,
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 022/117] netdevsim: set nsim_dev_health_break_fops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (19 preceding siblings ...)
2020-10-08 15:50 ` [PATCH net 021/117] 6lowpan: iphc: set lowpan_ctx_pfx_fops.owner " Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:50 ` [PATCH net 023/117] netdevsim: set nsim_udp_tunnels_info_reset_fops.owner " Taehee Yoo
` (95 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 82c93a87bf8b ("netdevsim: implement couple of testing devlink health reporters")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/netdevsim/health.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/netdevsim/health.c b/drivers/net/netdevsim/health.c
index 62958b238d50..21e2974660e7 100644
--- a/drivers/net/netdevsim/health.c
+++ b/drivers/net/netdevsim/health.c
@@ -261,6 +261,7 @@ static const struct file_operations nsim_dev_health_break_fops = {
.open = simple_open,
.write = nsim_dev_health_break_write,
.llseek = generic_file_llseek,
+ .owner = THIS_MODULE,
};
int nsim_dev_health_init(struct nsim_dev *nsim_dev, struct devlink *devlink)
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 023/117] netdevsim: set nsim_udp_tunnels_info_reset_fops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (20 preceding siblings ...)
2020-10-08 15:50 ` [PATCH net 022/117] netdevsim: set nsim_dev_health_break_fops.owner " Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:50 ` [PATCH net 024/117] netdevsim: set nsim_dev_take_snapshot_fops.owner " Taehee Yoo
` (94 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 424be63ad831 ("netdevsim: add UDP tunnel port offload support")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/netdevsim/udp_tunnels.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/netdevsim/udp_tunnels.c b/drivers/net/netdevsim/udp_tunnels.c
index 22c06a76033c..2482b0f80b2f 100644
--- a/drivers/net/netdevsim/udp_tunnels.c
+++ b/drivers/net/netdevsim/udp_tunnels.c
@@ -119,6 +119,7 @@ static const struct file_operations nsim_udp_tunnels_info_reset_fops = {
.open = simple_open,
.write = nsim_udp_tunnels_info_reset_write,
.llseek = generic_file_llseek,
+ .owner = THIS_MODULE,
};
int nsim_udp_tunnels_info_create(struct nsim_dev *nsim_dev,
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 024/117] netdevsim: set nsim_dev_take_snapshot_fops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (21 preceding siblings ...)
2020-10-08 15:50 ` [PATCH net 023/117] netdevsim: set nsim_udp_tunnels_info_reset_fops.owner " Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:50 ` [PATCH net 025/117] netdevsim: set nsim_dev_trap_fa_cookie_fops.owner " Taehee Yoo
` (93 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 4418f862d675 ("netdevsim: implement support for devlink region and snapshots")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/netdevsim/dev.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/netdevsim/dev.c b/drivers/net/netdevsim/dev.c
index 32f339fedb21..9c867d08e04a 100644
--- a/drivers/net/netdevsim/dev.c
+++ b/drivers/net/netdevsim/dev.c
@@ -94,6 +94,7 @@ static const struct file_operations nsim_dev_take_snapshot_fops = {
.open = simple_open,
.write = nsim_dev_take_snapshot_write,
.llseek = generic_file_llseek,
+ .owner = THIS_MODULE,
};
static ssize_t nsim_dev_trap_fa_cookie_read(struct file *file,
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 025/117] netdevsim: set nsim_dev_trap_fa_cookie_fops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (22 preceding siblings ...)
2020-10-08 15:50 ` [PATCH net 024/117] netdevsim: set nsim_dev_take_snapshot_fops.owner " Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:50 ` [PATCH net 026/117] ieee802154: set test_int_fops.owner " Taehee Yoo
` (92 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: d3cbb907ae57 ("netdevsim: add ACL trap reporting cookie as a metadata")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/netdevsim/dev.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/netdevsim/dev.c b/drivers/net/netdevsim/dev.c
index 9c867d08e04a..1ae83ea4adbe 100644
--- a/drivers/net/netdevsim/dev.c
+++ b/drivers/net/netdevsim/dev.c
@@ -187,6 +187,7 @@ static const struct file_operations nsim_dev_trap_fa_cookie_fops = {
.read = nsim_dev_trap_fa_cookie_read,
.write = nsim_dev_trap_fa_cookie_write,
.llseek = generic_file_llseek,
+ .owner = THIS_MODULE,
};
static int nsim_dev_debugfs_init(struct nsim_dev *nsim_dev)
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 026/117] ieee802154: set test_int_fops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (23 preceding siblings ...)
2020-10-08 15:50 ` [PATCH net 025/117] netdevsim: set nsim_dev_trap_fa_cookie_fops.owner " Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:50 ` [PATCH net 027/117] i2400m: set i2400m_rx_stats_fops.owner " Taehee Yoo
` (91 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: ded845a781a5 ("ieee802154: Add CA8210 IEEE 802.15.4 device driver")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/ieee802154/ca8210.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ieee802154/ca8210.c b/drivers/net/ieee802154/ca8210.c
index 4eb64709d44c..d7b68c1279e6 100644
--- a/drivers/net/ieee802154/ca8210.c
+++ b/drivers/net/ieee802154/ca8210.c
@@ -2672,7 +2672,8 @@ static const struct file_operations test_int_fops = {
.open = ca8210_test_int_open,
.release = NULL,
.unlocked_ioctl = ca8210_test_int_ioctl,
- .poll = ca8210_test_int_poll
+ .poll = ca8210_test_int_poll,
+ .owner = THIS_MODULE,
};
/* Init/Deinit */
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 027/117] i2400m: set i2400m_rx_stats_fops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (24 preceding siblings ...)
2020-10-08 15:50 ` [PATCH net 026/117] ieee802154: set test_int_fops.owner " Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:50 ` [PATCH net 028/117] i2400m: set i2400m_tx_stats_fops.owner " Taehee Yoo
` (90 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: c71228caf91e ("i2400m: debugfs controls")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wimax/i2400m/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wimax/i2400m/debugfs.c b/drivers/net/wimax/i2400m/debugfs.c
index 1c640b41ea4c..9eda1535f777 100644
--- a/drivers/net/wimax/i2400m/debugfs.c
+++ b/drivers/net/wimax/i2400m/debugfs.c
@@ -87,6 +87,7 @@ const struct file_operations i2400m_rx_stats_fops = {
.read = i2400m_rx_stats_read,
.write = i2400m_rx_stats_write,
.llseek = default_llseek,
+ .owner = THIS_MODULE,
};
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 028/117] i2400m: set i2400m_tx_stats_fops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (25 preceding siblings ...)
2020-10-08 15:50 ` [PATCH net 027/117] i2400m: set i2400m_rx_stats_fops.owner " Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:50 ` [PATCH net 029/117] dpaa2-eth: set dpaa2_dbg_cpu_ops.owner " Taehee Yoo
` (89 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: c71228caf91e ("i2400m: debugfs controls")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wimax/i2400m/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wimax/i2400m/debugfs.c b/drivers/net/wimax/i2400m/debugfs.c
index 9eda1535f777..144f8a7e98af 100644
--- a/drivers/net/wimax/i2400m/debugfs.c
+++ b/drivers/net/wimax/i2400m/debugfs.c
@@ -141,6 +141,7 @@ const struct file_operations i2400m_tx_stats_fops = {
.read = i2400m_tx_stats_read,
.write = i2400m_tx_stats_write,
.llseek = default_llseek,
+ .owner = THIS_MODULE,
};
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 029/117] dpaa2-eth: set dpaa2_dbg_cpu_ops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (26 preceding siblings ...)
2020-10-08 15:50 ` [PATCH net 028/117] i2400m: set i2400m_tx_stats_fops.owner " Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:50 ` [PATCH net 030/117] dpaa2-eth: set dpaa2_dbg_fq_ops.owner " Taehee Yoo
` (88 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 091a19ea6e34 ("dpaa2-eth: add debugfs statistics")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c b/drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c
index 56d9927fbfda..765577386fc7 100644
--- a/drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c
+++ b/drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c
@@ -59,6 +59,7 @@ static const struct file_operations dpaa2_dbg_cpu_ops = {
.read = seq_read,
.llseek = seq_lseek,
.release = single_release,
+ .owner = THIS_MODULE,
};
static char *fq_type_to_str(struct dpaa2_eth_fq *fq)
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 030/117] dpaa2-eth: set dpaa2_dbg_fq_ops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (27 preceding siblings ...)
2020-10-08 15:50 ` [PATCH net 029/117] dpaa2-eth: set dpaa2_dbg_cpu_ops.owner " Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:50 ` [PATCH net 031/117] dpaa2-eth: set dpaa2_dbg_ch_ops.owner " Taehee Yoo
` (87 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 091a19ea6e34 ("dpaa2-eth: add debugfs statistics")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c b/drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c
index 765577386fc7..df84324efb50 100644
--- a/drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c
+++ b/drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c
@@ -124,6 +124,7 @@ static const struct file_operations dpaa2_dbg_fq_ops = {
.read = seq_read,
.llseek = seq_lseek,
.release = single_release,
+ .owner = THIS_MODULE,
};
static int dpaa2_dbg_ch_show(struct seq_file *file, void *offset)
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 031/117] dpaa2-eth: set dpaa2_dbg_ch_ops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (28 preceding siblings ...)
2020-10-08 15:50 ` [PATCH net 030/117] dpaa2-eth: set dpaa2_dbg_fq_ops.owner " Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:50 ` [PATCH net 032/117] wl1271: set DEBUGFS_READONLY_FILE.owner " Taehee Yoo
` (86 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 091a19ea6e34 ("dpaa2-eth: add debugfs statistics")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c b/drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c
index df84324efb50..af76cb9387bd 100644
--- a/drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c
+++ b/drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c
@@ -170,6 +170,7 @@ static const struct file_operations dpaa2_dbg_ch_ops = {
.read = seq_read,
.llseek = seq_lseek,
.release = single_release,
+ .owner = THIS_MODULE,
};
void dpaa2_dbg_add(struct dpaa2_eth_priv *priv)
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 032/117] wl1271: set DEBUGFS_READONLY_FILE.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (29 preceding siblings ...)
2020-10-08 15:50 ` [PATCH net 031/117] dpaa2-eth: set dpaa2_dbg_ch_ops.owner " Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:50 ` [PATCH net 033/117] wl1271: set DEBUGFS_FWSTATS_FILE.owner " Taehee Yoo
` (85 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: f5fc0f86b02a ("wl1271: add wl1271 driver files")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/ti/wlcore/debugfs.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/ti/wlcore/debugfs.h b/drivers/net/wireless/ti/wlcore/debugfs.h
index fc3bb0d2ab8d..9cc2dee42f51 100644
--- a/drivers/net/wireless/ti/wlcore/debugfs.h
+++ b/drivers/net/wireless/ti/wlcore/debugfs.h
@@ -35,6 +35,7 @@ static const struct file_operations name## _ops = { \
.read = name## _read, \
.open = simple_open, \
.llseek = generic_file_llseek, \
+ .owner = THIS_MODULE, \
};
#define DEBUGFS_ADD(name, parent) \
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 033/117] wl1271: set DEBUGFS_FWSTATS_FILE.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (30 preceding siblings ...)
2020-10-08 15:50 ` [PATCH net 032/117] wl1271: set DEBUGFS_READONLY_FILE.owner " Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:50 ` [PATCH net 034/117] wlcore: set DEBUGFS_FWSTATS_FILE_ARRAY.owner " Taehee Yoo
` (84 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: f5fc0f86b02a ("wl1271: add wl1271 driver files")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/ti/wlcore/debugfs.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/ti/wlcore/debugfs.h b/drivers/net/wireless/ti/wlcore/debugfs.h
index 9cc2dee42f51..681dead95e0c 100644
--- a/drivers/net/wireless/ti/wlcore/debugfs.h
+++ b/drivers/net/wireless/ti/wlcore/debugfs.h
@@ -69,6 +69,7 @@ static const struct file_operations sub## _ ##name## _ops = { \
.read = sub## _ ##name## _read, \
.open = simple_open, \
.llseek = generic_file_llseek, \
+ .owner = THIS_MODULE, \
};
#define DEBUGFS_FWSTATS_FILE_ARRAY(sub, name, len, struct_type) \
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 034/117] wlcore: set DEBUGFS_FWSTATS_FILE_ARRAY.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (31 preceding siblings ...)
2020-10-08 15:50 ` [PATCH net 033/117] wl1271: set DEBUGFS_FWSTATS_FILE.owner " Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:50 ` [PATCH net 035/117] wl12xx: " Taehee Yoo
` (83 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: bcca1bbdd412 ("wlcore: add debugfs macro to help print fw statistics arrays")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/ti/wlcore/debugfs.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/ti/wlcore/debugfs.h b/drivers/net/wireless/ti/wlcore/debugfs.h
index 681dead95e0c..2889cf0bcfb7 100644
--- a/drivers/net/wireless/ti/wlcore/debugfs.h
+++ b/drivers/net/wireless/ti/wlcore/debugfs.h
@@ -95,6 +95,7 @@ static const struct file_operations sub## _ ##name## _ops = { \
.read = sub## _ ##name## _read, \
.open = simple_open, \
.llseek = generic_file_llseek, \
+ .owner = THIS_MODULE, \
};
#define DEBUGFS_FWSTATS_ADD(sub, name) \
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 035/117] wl12xx: set DEBUGFS_FWSTATS_FILE_ARRAY.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (32 preceding siblings ...)
2020-10-08 15:50 ` [PATCH net 034/117] wlcore: set DEBUGFS_FWSTATS_FILE_ARRAY.owner " Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:50 ` [PATCH net 036/117] wl12xx: set DEBUGFS_READONLY_FILE.owner " Taehee Yoo
` (82 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 2f01a1f58889 ("wl12xx: add driver")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/ti/wl1251/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/ti/wl1251/debugfs.c b/drivers/net/wireless/ti/wl1251/debugfs.c
index d48746e640cc..0b09ffec9027 100644
--- a/drivers/net/wireless/ti/wl1251/debugfs.c
+++ b/drivers/net/wireless/ti/wl1251/debugfs.c
@@ -35,6 +35,7 @@ static const struct file_operations name## _ops = { \
.read = name## _read, \
.open = simple_open, \
.llseek = generic_file_llseek, \
+ .owner = THIS_MODULE, \
};
#define DEBUGFS_ADD(name, parent) \
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 036/117] wl12xx: set DEBUGFS_READONLY_FILE.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (33 preceding siblings ...)
2020-10-08 15:50 ` [PATCH net 035/117] wl12xx: " Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:50 ` [PATCH net 037/117] wl12xx: set tx_queue_len_ops.owner " Taehee Yoo
` (81 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 2f01a1f58889 ("wl12xx: add driver")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/ti/wl1251/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/ti/wl1251/debugfs.c b/drivers/net/wireless/ti/wl1251/debugfs.c
index 0b09ffec9027..21d432532bc3 100644
--- a/drivers/net/wireless/ti/wl1251/debugfs.c
+++ b/drivers/net/wireless/ti/wl1251/debugfs.c
@@ -68,6 +68,7 @@ static const struct file_operations sub## _ ##name## _ops = { \
.read = sub## _ ##name## _read, \
.open = simple_open, \
.llseek = generic_file_llseek, \
+ .owner = THIS_MODULE, \
};
#define DEBUGFS_FWSTATS_ADD(sub, name) \
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 037/117] wl12xx: set tx_queue_len_ops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (34 preceding siblings ...)
2020-10-08 15:50 ` [PATCH net 036/117] wl12xx: set DEBUGFS_READONLY_FILE.owner " Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:50 ` [PATCH net 038/117] wl1251: set tx_queue_status_ops.owner " Taehee Yoo
` (80 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 2f01a1f58889 ("wl12xx: add driver")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/ti/wl1251/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/ti/wl1251/debugfs.c b/drivers/net/wireless/ti/wl1251/debugfs.c
index 21d432532bc3..165e346bf383 100644
--- a/drivers/net/wireless/ti/wl1251/debugfs.c
+++ b/drivers/net/wireless/ti/wl1251/debugfs.c
@@ -214,6 +214,7 @@ static const struct file_operations tx_queue_len_ops = {
.read = tx_queue_len_read,
.open = simple_open,
.llseek = generic_file_llseek,
+ .owner = THIS_MODULE,
};
static ssize_t tx_queue_status_read(struct file *file, char __user *userbuf,
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 038/117] wl1251: set tx_queue_status_ops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (35 preceding siblings ...)
2020-10-08 15:50 ` [PATCH net 037/117] wl12xx: set tx_queue_len_ops.owner " Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:50 ` [PATCH net 039/117] iwlwifi: set rs_sta_dbgfs_scale_table_ops.owner " Taehee Yoo
` (79 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: b7339b1de0f7 ("wl1251: add tx queue status to debugfs")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/ti/wl1251/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/ti/wl1251/debugfs.c b/drivers/net/wireless/ti/wl1251/debugfs.c
index 165e346bf383..0a26cee0f287 100644
--- a/drivers/net/wireless/ti/wl1251/debugfs.c
+++ b/drivers/net/wireless/ti/wl1251/debugfs.c
@@ -237,6 +237,7 @@ static const struct file_operations tx_queue_status_ops = {
.read = tx_queue_status_read,
.open = simple_open,
.llseek = generic_file_llseek,
+ .owner = THIS_MODULE,
};
static void wl1251_debugfs_delete_files(struct wl1251 *wl)
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 039/117] iwlwifi: set rs_sta_dbgfs_scale_table_ops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (36 preceding siblings ...)
2020-10-08 15:50 ` [PATCH net 038/117] wl1251: set tx_queue_status_ops.owner " Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:50 ` [PATCH net 040/117] iwlwifi: set rs_sta_dbgfs_stats_table_ops.owner " Taehee Yoo
` (78 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 5ae212c9273d ("[PATCH] iwlwifi: add read rate scale table debugfs function")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/intel/iwlwifi/dvm/rs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/intel/iwlwifi/dvm/rs.c b/drivers/net/wireless/intel/iwlwifi/dvm/rs.c
index 4fa4eab2d7f3..d013203c7d5a 100644
--- a/drivers/net/wireless/intel/iwlwifi/dvm/rs.c
+++ b/drivers/net/wireless/intel/iwlwifi/dvm/rs.c
@@ -3172,6 +3172,7 @@ static const struct file_operations rs_sta_dbgfs_scale_table_ops = {
.read = rs_sta_dbgfs_scale_table_read,
.open = simple_open,
.llseek = default_llseek,
+ .owner = THIS_MODULE,
};
static ssize_t rs_sta_dbgfs_stats_table_read(struct file *file,
char __user *user_buf, size_t count, loff_t *ppos)
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 040/117] iwlwifi: set rs_sta_dbgfs_stats_table_ops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (37 preceding siblings ...)
2020-10-08 15:50 ` [PATCH net 039/117] iwlwifi: set rs_sta_dbgfs_scale_table_ops.owner " Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:50 ` [PATCH net 041/117] iwlwifi: set DEBUGFS_READ_FILE_OPS.owner " Taehee Yoo
` (77 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 0209dc11c769 ("[PATCH] iwlwifi: add debugfs rate scale stats")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/intel/iwlwifi/dvm/rs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/intel/iwlwifi/dvm/rs.c b/drivers/net/wireless/intel/iwlwifi/dvm/rs.c
index d013203c7d5a..4075cb53bc73 100644
--- a/drivers/net/wireless/intel/iwlwifi/dvm/rs.c
+++ b/drivers/net/wireless/intel/iwlwifi/dvm/rs.c
@@ -3216,6 +3216,7 @@ static const struct file_operations rs_sta_dbgfs_stats_table_ops = {
.read = rs_sta_dbgfs_stats_table_read,
.open = simple_open,
.llseek = default_llseek,
+ .owner = THIS_MODULE,
};
static ssize_t rs_sta_dbgfs_rate_scale_data_read(struct file *file,
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 041/117] iwlwifi: set DEBUGFS_READ_FILE_OPS.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (38 preceding siblings ...)
2020-10-08 15:50 ` [PATCH net 040/117] iwlwifi: set rs_sta_dbgfs_stats_table_ops.owner " Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:50 ` [PATCH net 042/117] iwlwifi: set DEBUGFS_WRITE_FILE_OPS.owner " Taehee Yoo
` (76 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 712b6cf57a53 ("iwlwifi: Add debugfs to iwl core")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c b/drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c
index 911049201838..ac65141f0b3b 100644
--- a/drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c
+++ b/drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c
@@ -34,6 +34,7 @@ static const struct file_operations iwl_dbgfs_##name##_ops = { \
.read = iwl_dbgfs_##name##_read, \
.open = simple_open, \
.llseek = generic_file_llseek, \
+ .owner = THIS_MODULE, \
};
#define DEBUGFS_WRITE_FILE_OPS(name) \
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 042/117] iwlwifi: set DEBUGFS_WRITE_FILE_OPS.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (39 preceding siblings ...)
2020-10-08 15:50 ` [PATCH net 041/117] iwlwifi: set DEBUGFS_READ_FILE_OPS.owner " Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:50 ` [PATCH net 043/117] iwlwifi: set DEBUGFS_READ_WRITE_FILE_OPS.owner " Taehee Yoo
` (75 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 189a2b5942d6 ("iwlwifi: trigger event log from debugfs")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c b/drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c
index ac65141f0b3b..41d969b46bae 100644
--- a/drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c
+++ b/drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c
@@ -42,6 +42,7 @@ static const struct file_operations iwl_dbgfs_##name##_ops = { \
.write = iwl_dbgfs_##name##_write, \
.open = simple_open, \
.llseek = generic_file_llseek, \
+ .owner = THIS_MODULE, \
};
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 043/117] iwlwifi: set DEBUGFS_READ_WRITE_FILE_OPS.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (40 preceding siblings ...)
2020-10-08 15:50 ` [PATCH net 042/117] iwlwifi: set DEBUGFS_WRITE_FILE_OPS.owner " Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:50 ` [PATCH net 044/117] iwlwifi: set rs_sta_dbgfs_scale_table_ops.owner " Taehee Yoo
` (74 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 712b6cf57a53 ("iwlwifi: Add debugfs to iwl core")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c b/drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c
index 41d969b46bae..a1022987eccf 100644
--- a/drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c
+++ b/drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c
@@ -52,6 +52,7 @@ static const struct file_operations iwl_dbgfs_##name##_ops = { \
.read = iwl_dbgfs_##name##_read, \
.open = simple_open, \
.llseek = generic_file_llseek, \
+ .owner = THIS_MODULE, \
};
static ssize_t iwl_dbgfs_sram_read(struct file *file,
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 044/117] iwlwifi: set rs_sta_dbgfs_scale_table_ops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (41 preceding siblings ...)
2020-10-08 15:50 ` [PATCH net 043/117] iwlwifi: set DEBUGFS_READ_WRITE_FILE_OPS.owner " Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:50 ` [PATCH net 045/117] iwlwifi: set rs_sta_dbgfs_stats_table_ops.owner " Taehee Yoo
` (73 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 8ca151b568b6 ("iwlwifi: add the MVM driver")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/intel/iwlwifi/mvm/rs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/rs.c b/drivers/net/wireless/intel/iwlwifi/mvm/rs.c
index 86b2ebb5d5fb..97289236f2e1 100644
--- a/drivers/net/wireless/intel/iwlwifi/mvm/rs.c
+++ b/drivers/net/wireless/intel/iwlwifi/mvm/rs.c
@@ -3903,6 +3903,7 @@ static const struct file_operations rs_sta_dbgfs_scale_table_ops = {
.read = rs_sta_dbgfs_scale_table_read,
.open = simple_open,
.llseek = default_llseek,
+ .owner = THIS_MODULE,
};
static ssize_t rs_sta_dbgfs_stats_table_read(struct file *file,
char __user *user_buf, size_t count, loff_t *ppos)
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 045/117] iwlwifi: set rs_sta_dbgfs_stats_table_ops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (42 preceding siblings ...)
2020-10-08 15:50 ` [PATCH net 044/117] iwlwifi: set rs_sta_dbgfs_scale_table_ops.owner " Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:50 ` [PATCH net 046/117] iwlwifi: mvm: set rs_sta_dbgfs_drv_tx_stats_ops.owner " Taehee Yoo
` (72 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 8ca151b568b6 ("iwlwifi: add the MVM driver")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/intel/iwlwifi/mvm/rs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/rs.c b/drivers/net/wireless/intel/iwlwifi/mvm/rs.c
index 97289236f2e1..5b81cb1bdd3b 100644
--- a/drivers/net/wireless/intel/iwlwifi/mvm/rs.c
+++ b/drivers/net/wireless/intel/iwlwifi/mvm/rs.c
@@ -3951,6 +3951,7 @@ static const struct file_operations rs_sta_dbgfs_stats_table_ops = {
.read = rs_sta_dbgfs_stats_table_read,
.open = simple_open,
.llseek = default_llseek,
+ .owner = THIS_MODULE,
};
static ssize_t rs_sta_dbgfs_drv_tx_stats_read(struct file *file,
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 046/117] iwlwifi: mvm: set rs_sta_dbgfs_drv_tx_stats_ops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (43 preceding siblings ...)
2020-10-08 15:50 ` [PATCH net 045/117] iwlwifi: set rs_sta_dbgfs_stats_table_ops.owner " Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:50 ` [PATCH net 047/117] iwlwifi: mvm: set .owner to THIS_MODULE in debugfs.h Taehee Yoo
` (71 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 757cf23b4b4b ("iwlwifi: mvm: add per rate tx stats")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/intel/iwlwifi/mvm/rs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/rs.c b/drivers/net/wireless/intel/iwlwifi/mvm/rs.c
index 5b81cb1bdd3b..6fc2c841a873 100644
--- a/drivers/net/wireless/intel/iwlwifi/mvm/rs.c
+++ b/drivers/net/wireless/intel/iwlwifi/mvm/rs.c
@@ -4042,6 +4042,7 @@ static const struct file_operations rs_sta_dbgfs_drv_tx_stats_ops = {
.write = rs_sta_dbgfs_drv_tx_stats_write,
.open = simple_open,
.llseek = default_llseek,
+ .owner = THIS_MODULE,
};
static ssize_t iwl_dbgfs_ss_force_read(struct file *file,
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 047/117] iwlwifi: mvm: set .owner to THIS_MODULE in debugfs.h
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (44 preceding siblings ...)
2020-10-08 15:50 ` [PATCH net 046/117] iwlwifi: mvm: set rs_sta_dbgfs_drv_tx_stats_ops.owner " Taehee Yoo
@ 2020-10-08 15:50 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 048/117] iwlwifi: mvm: set iwl_dbgfs_mem_ops.owner to THIS_MODULE Taehee Yoo
` (70 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:50 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 8ca151b568b6 ("iwlwifi: add the MVM driver")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/intel/iwlwifi/mvm/debugfs.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/debugfs.h b/drivers/net/wireless/intel/iwlwifi/mvm/debugfs.h
index a83d252c0602..5bf4f7801b83 100644
--- a/drivers/net/wireless/intel/iwlwifi/mvm/debugfs.h
+++ b/drivers/net/wireless/intel/iwlwifi/mvm/debugfs.h
@@ -63,6 +63,7 @@ static const struct file_operations iwl_dbgfs_##name##_ops = { \
.read = iwl_dbgfs_##name##_read, \
.open = simple_open, \
.llseek = generic_file_llseek, \
+ .owner = THIS_MODULE, \
}
#define MVM_DEBUGFS_WRITE_WRAPPER(name, buflen, argtype) \
@@ -87,6 +88,7 @@ static const struct file_operations iwl_dbgfs_##name##_ops = { \
.read = iwl_dbgfs_##name##_read, \
.open = simple_open, \
.llseek = generic_file_llseek, \
+ .owner = THIS_MODULE, \
};
#define _MVM_DEBUGFS_WRITE_FILE_OPS(name, buflen, argtype) \
@@ -95,4 +97,5 @@ static const struct file_operations iwl_dbgfs_##name##_ops = { \
.write = _iwl_dbgfs_##name##_write, \
.open = simple_open, \
.llseek = generic_file_llseek, \
+ .owner = THIS_MODULE, \
};
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 048/117] iwlwifi: mvm: set iwl_dbgfs_mem_ops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (45 preceding siblings ...)
2020-10-08 15:50 ` [PATCH net 047/117] iwlwifi: mvm: set .owner to THIS_MODULE in debugfs.h Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 049/117] iwlwifi: runtime: set _FWRT_DEBUGFS_READ_FILE_OPS.owner " Taehee Yoo
` (69 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 2b55f43f8e47 ("iwlwifi: mvm: Add mem debugfs entry")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c b/drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c
index 8fae7e707374..3bfa91b4cba9 100644
--- a/drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c
+++ b/drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c
@@ -1981,6 +1981,7 @@ static const struct file_operations iwl_dbgfs_mem_ops = {
.write = iwl_dbgfs_mem_write,
.open = simple_open,
.llseek = default_llseek,
+ .owner = THIS_MODULE,
};
void iwl_mvm_sta_add_debugfs(struct ieee80211_hw *hw,
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 049/117] iwlwifi: runtime: set _FWRT_DEBUGFS_READ_FILE_OPS.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (46 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 048/117] iwlwifi: mvm: set iwl_dbgfs_mem_ops.owner to THIS_MODULE Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 050/117] iwlwifi: runtime: set _FWRT_DEBUGFS_READ_WRITE_FILE_OPS.owner " Taehee Yoo
` (68 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 93b167c13a3a ("iwlwifi: runtime: sync FW and host clocks for logs")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/intel/iwlwifi/fw/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/intel/iwlwifi/fw/debugfs.c b/drivers/net/wireless/intel/iwlwifi/fw/debugfs.c
index 267ad4eddb5c..c0edf6fb3760 100644
--- a/drivers/net/wireless/intel/iwlwifi/fw/debugfs.c
+++ b/drivers/net/wireless/intel/iwlwifi/fw/debugfs.c
@@ -122,6 +122,7 @@ static const struct file_operations iwl_dbgfs_##name##_ops = { \
.open = _iwl_dbgfs_##name##_open, \
.llseek = generic_file_llseek, \
.release = _iwl_dbgfs_release, \
+ .owner = THIS_MODULE, \
}
#define FWRT_DEBUGFS_WRITE_WRAPPER(name, buflen, argtype) \
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 050/117] iwlwifi: runtime: set _FWRT_DEBUGFS_READ_WRITE_FILE_OPS.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (47 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 049/117] iwlwifi: runtime: set _FWRT_DEBUGFS_READ_FILE_OPS.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 051/117] iwlwifi: runtime: set _FWRT_DEBUGFS_WRITE_FILE_OPS.owner " Taehee Yoo
` (67 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 93b167c13a3a ("iwlwifi: runtime: sync FW and host clocks for logs")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/intel/iwlwifi/fw/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/intel/iwlwifi/fw/debugfs.c b/drivers/net/wireless/intel/iwlwifi/fw/debugfs.c
index c0edf6fb3760..d99ed6b2f781 100644
--- a/drivers/net/wireless/intel/iwlwifi/fw/debugfs.c
+++ b/drivers/net/wireless/intel/iwlwifi/fw/debugfs.c
@@ -151,6 +151,7 @@ static const struct file_operations iwl_dbgfs_##name##_ops = { \
.open = _iwl_dbgfs_##name##_open, \
.llseek = generic_file_llseek, \
.release = _iwl_dbgfs_release, \
+ .owner = THIS_MODULE, \
}
#define _FWRT_DEBUGFS_WRITE_FILE_OPS(name, buflen, argtype) \
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 051/117] iwlwifi: runtime: set _FWRT_DEBUGFS_WRITE_FILE_OPS.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (48 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 050/117] iwlwifi: runtime: set _FWRT_DEBUGFS_READ_WRITE_FILE_OPS.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 052/117] iwlwifi: set DEBUGFS_READ_FILE_OPS.owner " Taehee Yoo
` (66 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 93b167c13a3a ("iwlwifi: runtime: sync FW and host clocks for logs")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/intel/iwlwifi/fw/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/intel/iwlwifi/fw/debugfs.c b/drivers/net/wireless/intel/iwlwifi/fw/debugfs.c
index d99ed6b2f781..5f41c8587ac6 100644
--- a/drivers/net/wireless/intel/iwlwifi/fw/debugfs.c
+++ b/drivers/net/wireless/intel/iwlwifi/fw/debugfs.c
@@ -162,6 +162,7 @@ static const struct file_operations iwl_dbgfs_##name##_ops = { \
.open = _iwl_dbgfs_##name##_open, \
.llseek = generic_file_llseek, \
.release = _iwl_dbgfs_release, \
+ .owner = THIS_MODULE, \
}
#define FWRT_DEBUGFS_READ_FILE_OPS(name, bufsz) \
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 052/117] iwlwifi: set DEBUGFS_READ_FILE_OPS.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (49 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 051/117] iwlwifi: runtime: set _FWRT_DEBUGFS_WRITE_FILE_OPS.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 053/117] iwlwifi: set DEBUGFS_WRITE_FILE_OPS.owner " Taehee Yoo
` (65 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: be663ab67077 ("iwlwifi: split the drivers for agn and legacy devices 3945/4965")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/intel/iwlegacy/debug.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/intel/iwlegacy/debug.c b/drivers/net/wireless/intel/iwlegacy/debug.c
index 4f741b305d96..03571066f580 100644
--- a/drivers/net/wireless/intel/iwlegacy/debug.c
+++ b/drivers/net/wireless/intel/iwlegacy/debug.c
@@ -136,6 +136,7 @@ static const struct file_operations il_dbgfs_##name##_ops = { \
.read = il_dbgfs_##name##_read, \
.open = simple_open, \
.llseek = generic_file_llseek, \
+ .owner = THIS_MODULE, \
};
#define DEBUGFS_WRITE_FILE_OPS(name) \
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 053/117] iwlwifi: set DEBUGFS_WRITE_FILE_OPS.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (50 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 052/117] iwlwifi: set DEBUGFS_READ_FILE_OPS.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 054/117] iwlwifi: set DEBUGFS_READ_WRITE_FILE_OPS.owner " Taehee Yoo
` (64 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: be663ab67077 ("iwlwifi: split the drivers for agn and legacy devices 3945/4965")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/intel/iwlegacy/debug.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/intel/iwlegacy/debug.c b/drivers/net/wireless/intel/iwlegacy/debug.c
index 03571066f580..9813d4b507e5 100644
--- a/drivers/net/wireless/intel/iwlegacy/debug.c
+++ b/drivers/net/wireless/intel/iwlegacy/debug.c
@@ -145,6 +145,7 @@ static const struct file_operations il_dbgfs_##name##_ops = { \
.write = il_dbgfs_##name##_write, \
.open = simple_open, \
.llseek = generic_file_llseek, \
+ .owner = THIS_MODULE, \
};
#define DEBUGFS_READ_WRITE_FILE_OPS(name) \
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 054/117] iwlwifi: set DEBUGFS_READ_WRITE_FILE_OPS.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (51 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 053/117] iwlwifi: set DEBUGFS_WRITE_FILE_OPS.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 055/117] iwlwifi: set rs_sta_dbgfs_stats_table_ops.owner " Taehee Yoo
` (63 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: be663ab67077 ("iwlwifi: split the drivers for agn and legacy devices 3945/4965")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/intel/iwlegacy/debug.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/intel/iwlegacy/debug.c b/drivers/net/wireless/intel/iwlegacy/debug.c
index 9813d4b507e5..fcf5fd3c7364 100644
--- a/drivers/net/wireless/intel/iwlegacy/debug.c
+++ b/drivers/net/wireless/intel/iwlegacy/debug.c
@@ -156,6 +156,7 @@ static const struct file_operations il_dbgfs_##name##_ops = { \
.read = il_dbgfs_##name##_read, \
.open = simple_open, \
.llseek = generic_file_llseek, \
+ .owner = THIS_MODULE, \
};
static const char *
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 055/117] iwlwifi: set rs_sta_dbgfs_stats_table_ops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (52 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 054/117] iwlwifi: set DEBUGFS_READ_WRITE_FILE_OPS.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 056/117] iwlwifi: set rs_sta_dbgfs_scale_table_ops.owner " Taehee Yoo
` (62 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 4bc85c1324aa ("Revert "iwlwifi: split the drivers for agn and legacy devices 3945/4965"")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/intel/iwlegacy/3945-rs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/intel/iwlegacy/3945-rs.c b/drivers/net/wireless/intel/iwlegacy/3945-rs.c
index 0af9e997c9f6..f98297541184 100644
--- a/drivers/net/wireless/intel/iwlegacy/3945-rs.c
+++ b/drivers/net/wireless/intel/iwlegacy/3945-rs.c
@@ -836,6 +836,7 @@ static const struct file_operations rs_sta_dbgfs_stats_table_ops = {
.read = il3945_sta_dbgfs_stats_table_read,
.open = simple_open,
.llseek = default_llseek,
+ .owner = THIS_MODULE,
};
static void
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 056/117] iwlwifi: set rs_sta_dbgfs_scale_table_ops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (53 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 055/117] iwlwifi: set rs_sta_dbgfs_stats_table_ops.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 057/117] iwlwifi: set rs_sta_dbgfs_stats_table_ops.owner " Taehee Yoo
` (61 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: be663ab67077 ("iwlwifi: split the drivers for agn and legacy devices 3945/4965")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/intel/iwlegacy/4965-rs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/intel/iwlegacy/4965-rs.c b/drivers/net/wireless/intel/iwlegacy/4965-rs.c
index 1f196665d21f..43fff3fd18e7 100644
--- a/drivers/net/wireless/intel/iwlegacy/4965-rs.c
+++ b/drivers/net/wireless/intel/iwlegacy/4965-rs.c
@@ -2669,6 +2669,7 @@ static const struct file_operations rs_sta_dbgfs_scale_table_ops = {
.read = il4965_rs_sta_dbgfs_scale_table_read,
.open = simple_open,
.llseek = default_llseek,
+ .owner = THIS_MODULE,
};
static ssize_t
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 057/117] iwlwifi: set rs_sta_dbgfs_stats_table_ops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (54 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 056/117] iwlwifi: set rs_sta_dbgfs_scale_table_ops.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 058/117] iwlwifi: set rs_sta_dbgfs_rate_scale_data_ops.owner " Taehee Yoo
` (60 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: be663ab67077 ("iwlwifi: split the drivers for agn and legacy devices 3945/4965")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/intel/iwlegacy/4965-rs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/intel/iwlegacy/4965-rs.c b/drivers/net/wireless/intel/iwlegacy/4965-rs.c
index 43fff3fd18e7..6592726235d4 100644
--- a/drivers/net/wireless/intel/iwlegacy/4965-rs.c
+++ b/drivers/net/wireless/intel/iwlegacy/4965-rs.c
@@ -2715,6 +2715,7 @@ static const struct file_operations rs_sta_dbgfs_stats_table_ops = {
.read = il4965_rs_sta_dbgfs_stats_table_read,
.open = simple_open,
.llseek = default_llseek,
+ .owner = THIS_MODULE,
};
static ssize_t
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 058/117] iwlwifi: set rs_sta_dbgfs_rate_scale_data_ops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (55 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 057/117] iwlwifi: set rs_sta_dbgfs_stats_table_ops.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 059/117] iwlagn: " Taehee Yoo
` (59 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: be663ab67077 ("iwlwifi: split the drivers for agn and legacy devices 3945/4965")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/intel/iwlegacy/4965-rs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/intel/iwlegacy/4965-rs.c b/drivers/net/wireless/intel/iwlegacy/4965-rs.c
index 6592726235d4..5e3a30d553dc 100644
--- a/drivers/net/wireless/intel/iwlegacy/4965-rs.c
+++ b/drivers/net/wireless/intel/iwlegacy/4965-rs.c
@@ -2744,6 +2744,7 @@ static const struct file_operations rs_sta_dbgfs_rate_scale_data_ops = {
.read = il4965_rs_sta_dbgfs_rate_scale_data_read,
.open = simple_open,
.llseek = default_llseek,
+ .owner = THIS_MODULE,
};
static void
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 059/117] iwlagn: set rs_sta_dbgfs_rate_scale_data_ops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (56 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 058/117] iwlwifi: set rs_sta_dbgfs_rate_scale_data_ops.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 060/117] iwlagn: set DEBUGFS_READ_FILE_OPS.owner " Taehee Yoo
` (58 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 38167459da50 ("iwlagn: show current rate scale data in debugfs")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/intel/iwlwifi/dvm/rs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/intel/iwlwifi/dvm/rs.c b/drivers/net/wireless/intel/iwlwifi/dvm/rs.c
index 4075cb53bc73..48b945594f4c 100644
--- a/drivers/net/wireless/intel/iwlwifi/dvm/rs.c
+++ b/drivers/net/wireless/intel/iwlwifi/dvm/rs.c
@@ -3243,6 +3243,7 @@ static const struct file_operations rs_sta_dbgfs_rate_scale_data_ops = {
.read = rs_sta_dbgfs_rate_scale_data_read,
.open = simple_open,
.llseek = default_llseek,
+ .owner = THIS_MODULE,
};
static void rs_add_debugfs(void *priv, void *priv_sta,
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 060/117] iwlagn: set DEBUGFS_READ_FILE_OPS.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (57 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 059/117] iwlagn: " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 061/117] iwlagn: set DEBUGFS_WRITE_FILE_OPS.owner " Taehee Yoo
` (57 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 87e5666c0722 ("iwlagn: transport handler can register debugfs entries")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/intel/iwlwifi/pcie/trans.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/intel/iwlwifi/pcie/trans.c b/drivers/net/wireless/intel/iwlwifi/pcie/trans.c
index e5160d620868..e408a381c82b 100644
--- a/drivers/net/wireless/intel/iwlwifi/pcie/trans.c
+++ b/drivers/net/wireless/intel/iwlwifi/pcie/trans.c
@@ -2505,6 +2505,7 @@ static const struct file_operations iwl_dbgfs_##name##_ops = { \
.read = iwl_dbgfs_##name##_read, \
.open = simple_open, \
.llseek = generic_file_llseek, \
+ .owner = THIS_MODULE, \
};
#define DEBUGFS_WRITE_FILE_OPS(name) \
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 061/117] iwlagn: set DEBUGFS_WRITE_FILE_OPS.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (58 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 060/117] iwlagn: set DEBUGFS_READ_FILE_OPS.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 062/117] iwlagn: set DEBUGFS_READ_WRITE_FILE_OPS.owner " Taehee Yoo
` (56 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 16db88ba51d6 ("iwlagn: move dump_csr and dump_fh to transport layer")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/intel/iwlwifi/pcie/trans.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/intel/iwlwifi/pcie/trans.c b/drivers/net/wireless/intel/iwlwifi/pcie/trans.c
index e408a381c82b..7c13184fc8e7 100644
--- a/drivers/net/wireless/intel/iwlwifi/pcie/trans.c
+++ b/drivers/net/wireless/intel/iwlwifi/pcie/trans.c
@@ -2513,6 +2513,7 @@ static const struct file_operations iwl_dbgfs_##name##_ops = { \
.write = iwl_dbgfs_##name##_write, \
.open = simple_open, \
.llseek = generic_file_llseek, \
+ .owner = THIS_MODULE, \
};
#define DEBUGFS_READ_WRITE_FILE_OPS(name) \
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 062/117] iwlagn: set DEBUGFS_READ_WRITE_FILE_OPS.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (59 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 061/117] iwlagn: set DEBUGFS_WRITE_FILE_OPS.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 063/117] rtlwifi: set file_ops_common.owner " Taehee Yoo
` (55 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 87e5666c0722 ("iwlagn: transport handler can register debugfs entries")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/intel/iwlwifi/pcie/trans.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/intel/iwlwifi/pcie/trans.c b/drivers/net/wireless/intel/iwlwifi/pcie/trans.c
index 7c13184fc8e7..f228e362b71f 100644
--- a/drivers/net/wireless/intel/iwlwifi/pcie/trans.c
+++ b/drivers/net/wireless/intel/iwlwifi/pcie/trans.c
@@ -2522,6 +2522,7 @@ static const struct file_operations iwl_dbgfs_##name##_ops = { \
.read = iwl_dbgfs_##name##_read, \
.open = simple_open, \
.llseek = generic_file_llseek, \
+ .owner = THIS_MODULE, \
};
struct iwl_dbgfs_tx_queue_priv {
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 063/117] rtlwifi: set file_ops_common.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (60 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 062/117] iwlagn: set DEBUGFS_READ_WRITE_FILE_OPS.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 064/117] ath11k: set fops_extd_tx_stats.owner " Taehee Yoo
` (54 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 610247f46feb ("rtlwifi: Improve debugging by using debugfs")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/realtek/rtlwifi/debug.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/realtek/rtlwifi/debug.c b/drivers/net/wireless/realtek/rtlwifi/debug.c
index 55db71c766fe..0a368b1dd1b5 100644
--- a/drivers/net/wireless/realtek/rtlwifi/debug.c
+++ b/drivers/net/wireless/realtek/rtlwifi/debug.c
@@ -89,6 +89,7 @@ static const struct file_operations file_ops_common = {
.read = seq_read,
.llseek = seq_lseek,
.release = single_release,
+ .owner = THIS_MODULE,
};
static int rtl_debug_get_mac_page(struct seq_file *m, void *v)
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 064/117] ath11k: set fops_extd_tx_stats.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (61 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 063/117] rtlwifi: set file_ops_common.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 065/117] ath11k: set fops_extd_rx_stats.owner " Taehee Yoo
` (53 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: d5c65159f289 ("ath11k: driver for Qualcomm IEEE 802.11ax devices")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/ath/ath11k/debug.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/wireless/ath/ath11k/debug.c b/drivers/net/wireless/ath/ath11k/debug.c
index 62a1aa0565a9..93461e840c87 100644
--- a/drivers/net/wireless/ath/ath11k/debug.c
+++ b/drivers/net/wireless/ath/ath11k/debug.c
@@ -685,7 +685,8 @@ static ssize_t ath11k_read_enable_extd_tx_stats(struct file *file,
static const struct file_operations fops_extd_tx_stats = {
.read = ath11k_read_enable_extd_tx_stats,
.write = ath11k_write_enable_extd_tx_stats,
- .open = simple_open
+ .open = simple_open,
+ .owner = THIS_MODULE,
};
static ssize_t ath11k_write_extd_rx_stats(struct file *file,
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 065/117] ath11k: set fops_extd_rx_stats.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (62 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 064/117] ath11k: set fops_extd_tx_stats.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 066/117] ath11k: set fops_pktlog_filter.owner " Taehee Yoo
` (52 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: d5c65159f289 ("ath11k: driver for Qualcomm IEEE 802.11ax devices")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/ath/ath11k/debug.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/ath/ath11k/debug.c b/drivers/net/wireless/ath/ath11k/debug.c
index 93461e840c87..8494ddbef7e7 100644
--- a/drivers/net/wireless/ath/ath11k/debug.c
+++ b/drivers/net/wireless/ath/ath11k/debug.c
@@ -775,6 +775,7 @@ static const struct file_operations fops_extd_rx_stats = {
.read = ath11k_read_extd_rx_stats,
.write = ath11k_write_extd_rx_stats,
.open = simple_open,
+ .owner = THIS_MODULE,
};
static int ath11k_fill_bp_stats(struct ath11k_base *ab,
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 066/117] ath11k: set fops_pktlog_filter.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (63 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 065/117] ath11k: set fops_extd_rx_stats.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 067/117] ath11k: set fops_simulate_radar.owner " Taehee Yoo
` (51 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: d5c65159f289 ("ath11k: driver for Qualcomm IEEE 802.11ax devices")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/ath/ath11k/debug.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/wireless/ath/ath11k/debug.c b/drivers/net/wireless/ath/ath11k/debug.c
index 8494ddbef7e7..da085c0a01ed 100644
--- a/drivers/net/wireless/ath/ath11k/debug.c
+++ b/drivers/net/wireless/ath/ath11k/debug.c
@@ -1123,7 +1123,8 @@ static ssize_t ath11k_read_pktlog_filter(struct file *file,
static const struct file_operations fops_pktlog_filter = {
.read = ath11k_read_pktlog_filter,
.write = ath11k_write_pktlog_filter,
- .open = simple_open
+ .open = simple_open,
+ .owner = THIS_MODULE,
};
static ssize_t ath11k_write_simulate_radar(struct file *file,
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 067/117] ath11k: set fops_simulate_radar.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (64 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 066/117] ath11k: set fops_pktlog_filter.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 068/117] ath10k: set fops_pktlog_filter.owner " Taehee Yoo
` (50 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: d5c65159f289 ("ath11k: driver for Qualcomm IEEE 802.11ax devices")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/ath/ath11k/debug.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/wireless/ath/ath11k/debug.c b/drivers/net/wireless/ath/ath11k/debug.c
index da085c0a01ed..c3475ece2720 100644
--- a/drivers/net/wireless/ath/ath11k/debug.c
+++ b/drivers/net/wireless/ath/ath11k/debug.c
@@ -1143,7 +1143,8 @@ static ssize_t ath11k_write_simulate_radar(struct file *file,
static const struct file_operations fops_simulate_radar = {
.write = ath11k_write_simulate_radar,
- .open = simple_open
+ .open = simple_open,
+ .owner = THIS_MODULE,
};
int ath11k_debug_register(struct ath11k *ar)
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 068/117] ath10k: set fops_pktlog_filter.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (65 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 067/117] ath11k: set fops_simulate_radar.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 069/117] ath10k: set fops_quiet_period.owner " Taehee Yoo
` (49 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 90174455ae05 ("ath10k: add support to configure pktlog filter")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/ath/ath10k/debug.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/wireless/ath/ath10k/debug.c b/drivers/net/wireless/ath/ath10k/debug.c
index e8250a665433..78bbb0380323 100644
--- a/drivers/net/wireless/ath/ath10k/debug.c
+++ b/drivers/net/wireless/ath/ath10k/debug.c
@@ -1911,7 +1911,8 @@ static ssize_t ath10k_read_pktlog_filter(struct file *file, char __user *ubuf,
static const struct file_operations fops_pktlog_filter = {
.read = ath10k_read_pktlog_filter,
.write = ath10k_write_pktlog_filter,
- .open = simple_open
+ .open = simple_open,
+ .owner = THIS_MODULE,
};
static ssize_t ath10k_write_quiet_period(struct file *file,
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 069/117] ath10k: set fops_quiet_period.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (66 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 068/117] ath10k: set fops_pktlog_filter.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 070/117] ath10k: set fops_btcoex.owner " Taehee Yoo
` (48 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 63fb32df9786 ("ath10k: add debugfs entry to configure quiet period")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/ath/ath10k/debug.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/wireless/ath/ath10k/debug.c b/drivers/net/wireless/ath/ath10k/debug.c
index 78bbb0380323..9789ef98d25b 100644
--- a/drivers/net/wireless/ath/ath10k/debug.c
+++ b/drivers/net/wireless/ath/ath10k/debug.c
@@ -1956,7 +1956,8 @@ static ssize_t ath10k_read_quiet_period(struct file *file, char __user *ubuf,
static const struct file_operations fops_quiet_period = {
.read = ath10k_read_quiet_period,
.write = ath10k_write_quiet_period,
- .open = simple_open
+ .open = simple_open,
+ .owner = THIS_MODULE,
};
static ssize_t ath10k_write_btcoex(struct file *file,
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 070/117] ath10k: set fops_btcoex.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (67 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 069/117] ath10k: set fops_quiet_period.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 071/117] ath10k: set fops_enable_extd_tx_stats.owner " Taehee Yoo
` (47 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 844fa5722712 ("ath10k: debugfs file to enable Bluetooth coexistence feature")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/ath/ath10k/debug.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/wireless/ath/ath10k/debug.c b/drivers/net/wireless/ath/ath10k/debug.c
index 9789ef98d25b..d1f8cf0d5604 100644
--- a/drivers/net/wireless/ath/ath10k/debug.c
+++ b/drivers/net/wireless/ath/ath10k/debug.c
@@ -2041,7 +2041,8 @@ static ssize_t ath10k_read_btcoex(struct file *file, char __user *ubuf,
static const struct file_operations fops_btcoex = {
.read = ath10k_read_btcoex,
.write = ath10k_write_btcoex,
- .open = simple_open
+ .open = simple_open,
+ .owner = THIS_MODULE,
};
static ssize_t ath10k_write_enable_extd_tx_stats(struct file *file,
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 071/117] ath10k: set fops_enable_extd_tx_stats.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (68 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 070/117] ath10k: set fops_btcoex.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 072/117] ath10k: set fops_peer_stats.owner " Taehee Yoo
` (46 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 348cd95c8196 ("ath10k: add debugfs entry to enable extended tx stats")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/ath/ath10k/debug.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/wireless/ath/ath10k/debug.c b/drivers/net/wireless/ath/ath10k/debug.c
index d1f8cf0d5604..8829232e2b34 100644
--- a/drivers/net/wireless/ath/ath10k/debug.c
+++ b/drivers/net/wireless/ath/ath10k/debug.c
@@ -2097,7 +2097,8 @@ static ssize_t ath10k_read_enable_extd_tx_stats(struct file *file,
static const struct file_operations fops_enable_extd_tx_stats = {
.read = ath10k_read_enable_extd_tx_stats,
.write = ath10k_write_enable_extd_tx_stats,
- .open = simple_open
+ .open = simple_open,
+ .owner = THIS_MODULE,
};
static ssize_t ath10k_write_peer_stats(struct file *file,
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 072/117] ath10k: set fops_peer_stats.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (69 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 071/117] ath10k: set fops_enable_extd_tx_stats.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 073/117] wcn36xx: set fops_wcn36xx_bmps.owner " Taehee Yoo
` (45 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: cc61a1bbbc0e ("ath10k: enable debugfs provision to enable Peer Stats feature")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/ath/ath10k/debug.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/wireless/ath/ath10k/debug.c b/drivers/net/wireless/ath/ath10k/debug.c
index 8829232e2b34..afde3d8048e8 100644
--- a/drivers/net/wireless/ath/ath10k/debug.c
+++ b/drivers/net/wireless/ath/ath10k/debug.c
@@ -2167,7 +2167,8 @@ static ssize_t ath10k_read_peer_stats(struct file *file, char __user *ubuf,
static const struct file_operations fops_peer_stats = {
.read = ath10k_read_peer_stats,
.write = ath10k_write_peer_stats,
- .open = simple_open
+ .open = simple_open,
+ .owner = THIS_MODULE,
};
static ssize_t ath10k_debug_fw_checksums_read(struct file *file,
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 073/117] wcn36xx: set fops_wcn36xx_bmps.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (70 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 072/117] ath10k: set fops_peer_stats.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 074/117] wcn36xx: set fops_wcn36xx_dump.owner " Taehee Yoo
` (44 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 8e84c2582169 ("wcn36xx: mac80211 driver for Qualcomm WCN3660/WCN3680 hardware")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/ath/wcn36xx/debug.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/ath/wcn36xx/debug.c b/drivers/net/wireless/ath/wcn36xx/debug.c
index 389b5e7129a6..6bd874c0a9f5 100644
--- a/drivers/net/wireless/ath/wcn36xx/debug.c
+++ b/drivers/net/wireless/ath/wcn36xx/debug.c
@@ -93,6 +93,7 @@ static const struct file_operations fops_wcn36xx_bmps = {
.open = simple_open,
.read = read_file_bool_bmps,
.write = write_file_bool_bmps,
+ .owner = THIS_MODULE,
};
static ssize_t write_file_dump(struct file *file,
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 074/117] wcn36xx: set fops_wcn36xx_dump.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (71 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 073/117] wcn36xx: set fops_wcn36xx_bmps.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 075/117] wireless: set fops_ioblob.owner " Taehee Yoo
` (43 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 8e84c2582169 ("wcn36xx: mac80211 driver for Qualcomm WCN3660/WCN3680 hardware")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/ath/wcn36xx/debug.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/ath/wcn36xx/debug.c b/drivers/net/wireless/ath/wcn36xx/debug.c
index 6bd874c0a9f5..4b78be5c67e8 100644
--- a/drivers/net/wireless/ath/wcn36xx/debug.c
+++ b/drivers/net/wireless/ath/wcn36xx/debug.c
@@ -135,6 +135,7 @@ static ssize_t write_file_dump(struct file *file,
static const struct file_operations fops_wcn36xx_dump = {
.open = simple_open,
.write = write_file_dump,
+ .owner = THIS_MODULE,
};
#define ADD_FILE(name, mode, fop, priv_data) \
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 075/117] wireless: set fops_ioblob.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (72 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 074/117] wcn36xx: set fops_wcn36xx_dump.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 076/117] wil6210: set fops_rxon.owner " Taehee Yoo
` (42 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 2be7d22f0625 ("wireless: add new wil6210 802.11ad 60GHz driver")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/ath/wil6210/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/ath/wil6210/debugfs.c b/drivers/net/wireless/ath/wil6210/debugfs.c
index 11d0c79e9056..c155baa3655f 100644
--- a/drivers/net/wireless/ath/wil6210/debugfs.c
+++ b/drivers/net/wireless/ath/wil6210/debugfs.c
@@ -678,6 +678,7 @@ static const struct file_operations fops_ioblob = {
.read = wil_read_file_ioblob,
.open = simple_open,
.llseek = default_llseek,
+ .owner = THIS_MODULE,
};
static
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 076/117] wil6210: set fops_rxon.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (73 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 075/117] wireless: set fops_ioblob.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 077/117] wil6210: set fops_rbufcap.owner " Taehee Yoo
` (41 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 0b39aaf2f203 ("wil6210: Tx mgmt frame from debugfs")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/ath/wil6210/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/ath/wil6210/debugfs.c b/drivers/net/wireless/ath/wil6210/debugfs.c
index c155baa3655f..914954cb9b0b 100644
--- a/drivers/net/wireless/ath/wil6210/debugfs.c
+++ b/drivers/net/wireless/ath/wil6210/debugfs.c
@@ -730,6 +730,7 @@ static ssize_t wil_write_file_rxon(struct file *file, const char __user *buf,
static const struct file_operations fops_rxon = {
.write = wil_write_file_rxon,
.open = simple_open,
+ .owner = THIS_MODULE,
};
static ssize_t wil_write_file_rbufcap(struct file *file,
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 077/117] wil6210: set fops_rbufcap.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (74 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 076/117] wil6210: set fops_rxon.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 078/117] wil6210: set fops_back.owner " Taehee Yoo
` (40 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: c5b3a6582b1e ("wil6210: Add support for setting RBUFCAP configuration")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/ath/wil6210/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/ath/wil6210/debugfs.c b/drivers/net/wireless/ath/wil6210/debugfs.c
index 914954cb9b0b..6c00d57e743a 100644
--- a/drivers/net/wireless/ath/wil6210/debugfs.c
+++ b/drivers/net/wireless/ath/wil6210/debugfs.c
@@ -769,6 +769,7 @@ static ssize_t wil_write_file_rbufcap(struct file *file,
static const struct file_operations fops_rbufcap = {
.write = wil_write_file_rbufcap,
.open = simple_open,
+ .owner = THIS_MODULE,
};
/* block ack control, write:
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 078/117] wil6210: set fops_back.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (75 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 077/117] wil6210: set fops_rbufcap.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 079/117] wil6210: set fops_pmccfg.owner " Taehee Yoo
` (39 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 3277213feb1b ("wil6210: ADDBA/DELBA flows")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/ath/wil6210/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/ath/wil6210/debugfs.c b/drivers/net/wireless/ath/wil6210/debugfs.c
index 6c00d57e743a..57f2d6006fb0 100644
--- a/drivers/net/wireless/ath/wil6210/debugfs.c
+++ b/drivers/net/wireless/ath/wil6210/debugfs.c
@@ -868,6 +868,7 @@ static const struct file_operations fops_back = {
.read = wil_read_back,
.write = wil_write_back,
.open = simple_open,
+ .owner = THIS_MODULE,
};
/* pmc control, write:
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 079/117] wil6210: set fops_pmccfg.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (76 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 078/117] wil6210: set fops_back.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 080/117] wil6210: set fops_pmcdata.owner " Taehee Yoo
` (38 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: dc16427bbe65 ("wil6210: Add pmc debug mechanism memory management")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/ath/wil6210/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/ath/wil6210/debugfs.c b/drivers/net/wireless/ath/wil6210/debugfs.c
index 57f2d6006fb0..8c37af09a84e 100644
--- a/drivers/net/wireless/ath/wil6210/debugfs.c
+++ b/drivers/net/wireless/ath/wil6210/debugfs.c
@@ -945,6 +945,7 @@ static const struct file_operations fops_pmccfg = {
.read = wil_read_pmccfg,
.write = wil_write_pmccfg,
.open = simple_open,
+ .owner = THIS_MODULE,
};
static const struct file_operations fops_pmcdata = {
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 080/117] wil6210: set fops_pmcdata.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (77 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 079/117] wil6210: set fops_pmccfg.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 081/117] wil6210: set fops_pmcring.owner " Taehee Yoo
` (37 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: dc16427bbe65 ("wil6210: Add pmc debug mechanism memory management")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/ath/wil6210/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/ath/wil6210/debugfs.c b/drivers/net/wireless/ath/wil6210/debugfs.c
index 8c37af09a84e..6f1603304d52 100644
--- a/drivers/net/wireless/ath/wil6210/debugfs.c
+++ b/drivers/net/wireless/ath/wil6210/debugfs.c
@@ -952,6 +952,7 @@ static const struct file_operations fops_pmcdata = {
.open = simple_open,
.read = wil_pmc_read,
.llseek = wil_pmc_llseek,
+ .owner = THIS_MODULE,
};
static int wil_pmcring_seq_open(struct inode *inode, struct file *file)
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 081/117] wil6210: set fops_pmcring.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (78 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 080/117] wil6210: set fops_pmcdata.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 082/117] wil6210: set fops_txmgmt.owner " Taehee Yoo
` (36 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 977c45ab5f41 ("wil6210: add debugfs to show PMC ring content")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/ath/wil6210/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/ath/wil6210/debugfs.c b/drivers/net/wireless/ath/wil6210/debugfs.c
index 6f1603304d52..4891cb7aaea4 100644
--- a/drivers/net/wireless/ath/wil6210/debugfs.c
+++ b/drivers/net/wireless/ath/wil6210/debugfs.c
@@ -965,6 +965,7 @@ static const struct file_operations fops_pmcring = {
.release = single_release,
.read = seq_read,
.llseek = seq_lseek,
+ .owner = THIS_MODULE,
};
/*---tx_mgmt---*/
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 082/117] wil6210: set fops_txmgmt.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (79 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 081/117] wil6210: set fops_pmcring.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 083/117] wil6210: set fops_wmi.owner " Taehee Yoo
` (35 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 0b39aaf2f203 ("wil6210: Tx mgmt frame from debugfs")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/ath/wil6210/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/ath/wil6210/debugfs.c b/drivers/net/wireless/ath/wil6210/debugfs.c
index 4891cb7aaea4..182185a34071 100644
--- a/drivers/net/wireless/ath/wil6210/debugfs.c
+++ b/drivers/net/wireless/ath/wil6210/debugfs.c
@@ -1003,6 +1003,7 @@ static ssize_t wil_write_file_txmgmt(struct file *file, const char __user *buf,
static const struct file_operations fops_txmgmt = {
.write = wil_write_file_txmgmt,
.open = simple_open,
+ .owner = THIS_MODULE,
};
/* Write WMI command (w/o mbox header) to this file to send it
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 083/117] wil6210: set fops_wmi.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (80 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 082/117] wil6210: set fops_txmgmt.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 084/117] wil6210: set fops_recovery.owner " Taehee Yoo
` (34 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: ff974e408334 ("wil6210: debugfs interface to send raw WMI command")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/ath/wil6210/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/ath/wil6210/debugfs.c b/drivers/net/wireless/ath/wil6210/debugfs.c
index 182185a34071..6d9a1de2974c 100644
--- a/drivers/net/wireless/ath/wil6210/debugfs.c
+++ b/drivers/net/wireless/ath/wil6210/debugfs.c
@@ -1047,6 +1047,7 @@ static ssize_t wil_write_file_wmi(struct file *file, const char __user *buf,
static const struct file_operations fops_wmi = {
.write = wil_write_file_wmi,
.open = simple_open,
+ .owner = THIS_MODULE,
};
static void wil_seq_print_skb(struct seq_file *s, struct sk_buff *skb)
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 084/117] wil6210: set fops_recovery.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (81 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 083/117] wil6210: set fops_wmi.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 085/117] wil6210: set fops_tx_latency.owner " Taehee Yoo
` (33 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: c33407a8c504 ("wil6210: manual FW error recovery mode")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/ath/wil6210/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/ath/wil6210/debugfs.c b/drivers/net/wireless/ath/wil6210/debugfs.c
index 6d9a1de2974c..e3ecdcb58392 100644
--- a/drivers/net/wireless/ath/wil6210/debugfs.c
+++ b/drivers/net/wireless/ath/wil6210/debugfs.c
@@ -1567,6 +1567,7 @@ static const struct file_operations fops_recovery = {
.read = wil_read_file_recovery,
.write = wil_write_file_recovery,
.open = simple_open,
+ .owner = THIS_MODULE,
};
/*---------Station matrix------------*/
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 085/117] wil6210: set fops_tx_latency.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (82 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 084/117] wil6210: set fops_recovery.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 086/117] wil6210: set fops_link_stats.owner " Taehee Yoo
` (32 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: a24a3d6abb97 ("wil6210: add TX latency statistics")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/ath/wil6210/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/ath/wil6210/debugfs.c b/drivers/net/wireless/ath/wil6210/debugfs.c
index e3ecdcb58392..67b2248e6b36 100644
--- a/drivers/net/wireless/ath/wil6210/debugfs.c
+++ b/drivers/net/wireless/ath/wil6210/debugfs.c
@@ -1846,6 +1846,7 @@ static const struct file_operations fops_tx_latency = {
.read = seq_read,
.write = wil_tx_latency_write,
.llseek = seq_lseek,
+ .owner = THIS_MODULE,
};
static void wil_link_stats_print_basic(struct wil6210_vif *vif,
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 086/117] wil6210: set fops_link_stats.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (83 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 085/117] wil6210: set fops_tx_latency.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 087/117] wil6210: set fops_link_stats_global.owner " Taehee Yoo
` (31 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 0c936b3c9633 ("wil6210: add support for link statistics")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/ath/wil6210/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/ath/wil6210/debugfs.c b/drivers/net/wireless/ath/wil6210/debugfs.c
index 67b2248e6b36..a2dce1ed9d0d 100644
--- a/drivers/net/wireless/ath/wil6210/debugfs.c
+++ b/drivers/net/wireless/ath/wil6210/debugfs.c
@@ -2010,6 +2010,7 @@ static const struct file_operations fops_link_stats = {
.read = seq_read,
.write = wil_link_stats_write,
.llseek = seq_lseek,
+ .owner = THIS_MODULE,
};
static int
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 087/117] wil6210: set fops_link_stats_global.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (84 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 086/117] wil6210: set fops_link_stats.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 088/117] wil6210: set fops_led_cfg.owner " Taehee Yoo
` (30 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 0c936b3c9633 ("wil6210: add support for link statistics")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/ath/wil6210/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/ath/wil6210/debugfs.c b/drivers/net/wireless/ath/wil6210/debugfs.c
index a2dce1ed9d0d..afbe30989ee4 100644
--- a/drivers/net/wireless/ath/wil6210/debugfs.c
+++ b/drivers/net/wireless/ath/wil6210/debugfs.c
@@ -2065,6 +2065,7 @@ static const struct file_operations fops_link_stats_global = {
.read = seq_read,
.write = wil_link_stats_global_write,
.llseek = seq_lseek,
+ .owner = THIS_MODULE,
};
static ssize_t wil_read_file_led_cfg(struct file *file, char __user *user_buf,
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 088/117] wil6210: set fops_led_cfg.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (85 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 087/117] wil6210: set fops_link_stats_global.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 089/117] wil6210: set fops_led_blink_time.owner " Taehee Yoo
` (29 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 10d599ad84a1 ("wil6210: add support for device led configuration")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/ath/wil6210/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/ath/wil6210/debugfs.c b/drivers/net/wireless/ath/wil6210/debugfs.c
index afbe30989ee4..54285e5420f6 100644
--- a/drivers/net/wireless/ath/wil6210/debugfs.c
+++ b/drivers/net/wireless/ath/wil6210/debugfs.c
@@ -2113,6 +2113,7 @@ static const struct file_operations fops_led_cfg = {
.read = wil_read_file_led_cfg,
.write = wil_write_file_led_cfg,
.open = simple_open,
+ .owner = THIS_MODULE,
};
/* led_blink_time, write:
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 089/117] wil6210: set fops_led_blink_time.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (86 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 088/117] wil6210: set fops_led_cfg.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 090/117] wil6210: set fops_fw_capabilities.owner " Taehee Yoo
` (28 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 10d599ad84a1 ("wil6210: add support for device led configuration")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/ath/wil6210/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/ath/wil6210/debugfs.c b/drivers/net/wireless/ath/wil6210/debugfs.c
index 54285e5420f6..c4c159656eb6 100644
--- a/drivers/net/wireless/ath/wil6210/debugfs.c
+++ b/drivers/net/wireless/ath/wil6210/debugfs.c
@@ -2179,6 +2179,7 @@ static const struct file_operations fops_led_blink_time = {
.read = wil_read_led_blink_time,
.write = wil_write_led_blink_time,
.open = simple_open,
+ .owner = THIS_MODULE,
};
/*---------FW capabilities------------*/
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 090/117] wil6210: set fops_fw_capabilities.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (87 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 089/117] wil6210: set fops_led_blink_time.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 091/117] wil6210: set fops_fw_version.owner " Taehee Yoo
` (27 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 12bace75704e ("wil6210: extract firmware capabilities from FW file")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/ath/wil6210/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/ath/wil6210/debugfs.c b/drivers/net/wireless/ath/wil6210/debugfs.c
index c4c159656eb6..b147b97c0d5e 100644
--- a/drivers/net/wireless/ath/wil6210/debugfs.c
+++ b/drivers/net/wireless/ath/wil6210/debugfs.c
@@ -2204,6 +2204,7 @@ static const struct file_operations fops_fw_capabilities = {
.release = single_release,
.read = seq_read,
.llseek = seq_lseek,
+ .owner = THIS_MODULE,
};
/*---------FW version------------*/
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 091/117] wil6210: set fops_fw_version.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (88 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 090/117] wil6210: set fops_fw_capabilities.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 092/117] wil6210: set fops_suspend_stats.owner " Taehee Yoo
` (26 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 13cd9f758a55 ("wil6210: extract firmware version from file header")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/ath/wil6210/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/ath/wil6210/debugfs.c b/drivers/net/wireless/ath/wil6210/debugfs.c
index b147b97c0d5e..c1a43de9a630 100644
--- a/drivers/net/wireless/ath/wil6210/debugfs.c
+++ b/drivers/net/wireless/ath/wil6210/debugfs.c
@@ -2231,6 +2231,7 @@ static const struct file_operations fops_fw_version = {
.release = single_release,
.read = seq_read,
.llseek = seq_lseek,
+ .owner = THIS_MODULE,
};
/*---------suspend_stats---------*/
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 092/117] wil6210: set fops_suspend_stats.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (89 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 091/117] wil6210: set fops_fw_version.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 093/117] wil6210: set fops_compressed_rx_status.owner " Taehee Yoo
` (25 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: fe9ee51e6a43 ("wil6210: add support for PCIe D3hot in system suspend")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/ath/wil6210/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/ath/wil6210/debugfs.c b/drivers/net/wireless/ath/wil6210/debugfs.c
index c1a43de9a630..4ac558f95586 100644
--- a/drivers/net/wireless/ath/wil6210/debugfs.c
+++ b/drivers/net/wireless/ath/wil6210/debugfs.c
@@ -2292,6 +2292,7 @@ static const struct file_operations fops_suspend_stats = {
.read = wil_read_suspend_stats,
.write = wil_write_suspend_stats,
.open = simple_open,
+ .owner = THIS_MODULE,
};
/*---------compressed_rx_status---------*/
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 093/117] wil6210: set fops_compressed_rx_status.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (90 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 092/117] wil6210: set fops_suspend_stats.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 094/117] cw1200: set fops_wsm_dumps.owner " Taehee Yoo
` (24 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 96c93589e2df ("wil6210: initialize TX and RX enhanced DMA rings")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/ath/wil6210/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/ath/wil6210/debugfs.c b/drivers/net/wireless/ath/wil6210/debugfs.c
index 4ac558f95586..7540c49aba3f 100644
--- a/drivers/net/wireless/ath/wil6210/debugfs.c
+++ b/drivers/net/wireless/ath/wil6210/debugfs.c
@@ -2347,6 +2347,7 @@ static const struct file_operations fops_compressed_rx_status = {
.read = seq_read,
.write = wil_compressed_rx_status_write,
.llseek = seq_lseek,
+ .owner = THIS_MODULE,
};
/*----------------*/
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 094/117] cw1200: set fops_wsm_dumps.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (91 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 093/117] wil6210: set fops_compressed_rx_status.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 095/117] brcmfmac: set bus_reset_fops.owner " Taehee Yoo
` (23 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: a910e4a94f69 ("cw1200: add driver for the ST-E CW1100 & CW1200 WLAN chipsets")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/st/cw1200/debug.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/st/cw1200/debug.c b/drivers/net/wireless/st/cw1200/debug.c
index 8686929c70df..bcb8757c34ae 100644
--- a/drivers/net/wireless/st/cw1200/debug.c
+++ b/drivers/net/wireless/st/cw1200/debug.c
@@ -355,6 +355,7 @@ static const struct file_operations fops_wsm_dumps = {
.open = simple_open,
.write = cw1200_wsm_dumps,
.llseek = default_llseek,
+ .owner = THIS_MODULE,
};
int cw1200_debug_init(struct cw1200_common *priv)
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 095/117] brcmfmac: set bus_reset_fops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (92 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 094/117] cw1200: set fops_wsm_dumps.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 096/117] b43legacy: set B43legacy_DEBUGFS_FOPS.owner " Taehee Yoo
` (22 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 2f8c8e62cd50 ("brcmfmac: add "reset" debugfs entry for testing reset")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c
index f89010a81ffb..f3d358a1aa07 100644
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c
@@ -1184,6 +1184,7 @@ static const struct file_operations bus_reset_fops = {
.open = simple_open,
.llseek = no_llseek,
.write = bus_reset_write,
+ .owner = THIS_MODULE,
};
static int brcmf_bus_started(struct brcmf_pub *drvr, struct cfg80211_ops *ops)
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 096/117] b43legacy: set B43legacy_DEBUGFS_FOPS.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (93 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 095/117] brcmfmac: set bus_reset_fops.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 097/117] b43: set B43_DEBUGFS_FOPS.owner " Taehee Yoo
` (21 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 75388acd0cd8 ("[B43LEGACY]: add mac80211-based driver for legacy BCM43xx devices")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/broadcom/b43legacy/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/broadcom/b43legacy/debugfs.c b/drivers/net/wireless/broadcom/b43legacy/debugfs.c
index e7e4293c01f2..7c6e7cfeb822 100644
--- a/drivers/net/wireless/broadcom/b43legacy/debugfs.c
+++ b/drivers/net/wireless/broadcom/b43legacy/debugfs.c
@@ -318,6 +318,7 @@ static ssize_t b43legacy_debugfs_write(struct file *file,
.read = b43legacy_debugfs_read, \
.write = b43legacy_debugfs_write, \
.llseek = generic_file_llseek, \
+ .owner = THIS_MODULE, \
}, \
.file_struct_offset = offsetof(struct b43legacy_dfsentry, \
file_##name), \
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 097/117] b43: set B43_DEBUGFS_FOPS.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (94 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 096/117] b43legacy: set B43legacy_DEBUGFS_FOPS.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 098/117] wireless: mwifiex: set .owner to THIS_MODULE in debugfs.c Taehee Yoo
` (20 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: e4d6b7951812 ("[B43]: add mac80211-based driver for modern BCM43xx devices")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/broadcom/b43/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/broadcom/b43/debugfs.c b/drivers/net/wireless/broadcom/b43/debugfs.c
index 89a25aefb327..c0d51cb57b27 100644
--- a/drivers/net/wireless/broadcom/b43/debugfs.c
+++ b/drivers/net/wireless/broadcom/b43/debugfs.c
@@ -611,6 +611,7 @@ static ssize_t b43_debugfs_write(struct file *file,
.read = b43_debugfs_read, \
.write = b43_debugfs_write, \
.llseek = generic_file_llseek, \
+ .owner = THIS_MODULE, \
}, \
.file_struct_offset = offsetof(struct b43_dfsentry, \
file_##name), \
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 098/117] wireless: mwifiex: set .owner to THIS_MODULE in debugfs.c
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (95 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 097/117] b43: set B43_DEBUGFS_FOPS.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 099/117] net: mt7601u: set fops_ampdu_stat.owner to THIS_MODULE Taehee Yoo
` (19 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 5e6e3a92b9a4 ("wireless: mwifiex: initial commit for Marvell mwifiex driver")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/marvell/mwifiex/debugfs.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/wireless/marvell/mwifiex/debugfs.c b/drivers/net/wireless/marvell/mwifiex/debugfs.c
index dded92db1f37..641113260439 100644
--- a/drivers/net/wireless/marvell/mwifiex/debugfs.c
+++ b/drivers/net/wireless/marvell/mwifiex/debugfs.c
@@ -931,18 +931,21 @@ static const struct file_operations mwifiex_dfs_##name##_fops = { \
.read = mwifiex_##name##_read, \
.write = mwifiex_##name##_write, \
.open = simple_open, \
+ .owner = THIS_MODULE, \
};
#define MWIFIEX_DFS_FILE_READ_OPS(name) \
static const struct file_operations mwifiex_dfs_##name##_fops = { \
.read = mwifiex_##name##_read, \
.open = simple_open, \
+ .owner = THIS_MODULE, \
};
#define MWIFIEX_DFS_FILE_WRITE_OPS(name) \
static const struct file_operations mwifiex_dfs_##name##_fops = { \
.write = mwifiex_##name##_write, \
.open = simple_open, \
+ .owner = THIS_MODULE, \
};
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 099/117] net: mt7601u: set fops_ampdu_stat.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (96 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 098/117] wireless: mwifiex: set .owner to THIS_MODULE in debugfs.c Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 100/117] net: mt7601u: set fops_eeprom_param.owner " Taehee Yoo
` (18 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: c869f77d6abb ("add mt7601u driver")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/mediatek/mt7601u/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/mediatek/mt7601u/debugfs.c b/drivers/net/wireless/mediatek/mt7601u/debugfs.c
index 300242bce799..03f7235a90ab 100644
--- a/drivers/net/wireless/mediatek/mt7601u/debugfs.c
+++ b/drivers/net/wireless/mediatek/mt7601u/debugfs.c
@@ -84,6 +84,7 @@ static const struct file_operations fops_ampdu_stat = {
.read = seq_read,
.llseek = seq_lseek,
.release = single_release,
+ .owner = THIS_MODULE,
};
static int
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 100/117] net: mt7601u: set fops_eeprom_param.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (97 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 099/117] net: mt7601u: set fops_ampdu_stat.owner to THIS_MODULE Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 101/117] mt76: mt7615: set fops_ampdu_stat.owner " Taehee Yoo
` (17 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: c869f77d6abb ("add mt7601u driver")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/mediatek/mt7601u/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/mediatek/mt7601u/debugfs.c b/drivers/net/wireless/mediatek/mt7601u/debugfs.c
index 03f7235a90ab..3edf153dc68c 100644
--- a/drivers/net/wireless/mediatek/mt7601u/debugfs.c
+++ b/drivers/net/wireless/mediatek/mt7601u/debugfs.c
@@ -143,6 +143,7 @@ static const struct file_operations fops_eeprom_param = {
.read = seq_read,
.llseek = seq_lseek,
.release = single_release,
+ .owner = THIS_MODULE,
};
void mt7601u_init_debugfs(struct mt7601u_dev *dev)
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 101/117] mt76: mt7615: set fops_ampdu_stat.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (98 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 100/117] net: mt7601u: set fops_eeprom_param.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 102/117] mt76: mt7603: " Taehee Yoo
` (16 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 75601194a1c8 ("mt76: mt7615: collect aggregation stats")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/mediatek/mt76/mt7615/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/mediatek/mt76/mt7615/debugfs.c b/drivers/net/wireless/mediatek/mt76/mt7615/debugfs.c
index 88931658a9fb..1770fa51f562 100644
--- a/drivers/net/wireless/mediatek/mt76/mt7615/debugfs.c
+++ b/drivers/net/wireless/mediatek/mt76/mt7615/debugfs.c
@@ -246,6 +246,7 @@ static const struct file_operations fops_ampdu_stat = {
.read = seq_read,
.llseek = seq_lseek,
.release = single_release,
+ .owner = THIS_MODULE,
};
static void
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 102/117] mt76: mt7603: set fops_ampdu_stat.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (99 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 101/117] mt76: mt7615: set fops_ampdu_stat.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 103/117] mt76: " Taehee Yoo
` (15 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 5a8d4678e02b ("mt76: mt7603: collect aggregation stats")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/mediatek/mt76/mt7603/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/mediatek/mt76/mt7603/debugfs.c b/drivers/net/wireless/mediatek/mt76/mt7603/debugfs.c
index 8ce6880b2bb8..af6fb67a6f7b 100644
--- a/drivers/net/wireless/mediatek/mt76/mt7603/debugfs.c
+++ b/drivers/net/wireless/mediatek/mt76/mt7603/debugfs.c
@@ -102,6 +102,7 @@ static const struct file_operations fops_ampdu_stat = {
.read = seq_read,
.llseek = seq_lseek,
.release = single_release,
+ .owner = THIS_MODULE,
};
void mt7603_init_debugfs(struct mt7603_dev *dev)
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 103/117] mt76: set fops_ampdu_stat.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (100 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 102/117] mt76: mt7603: " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 104/117] mt76: set fops_tx_stats.owner " Taehee Yoo
` (14 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 7bc04215a66b ("mt76: add driver code for MT76x2e")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c b/drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c
index ff448a1ad4e3..7d7247a9b3ec 100644
--- a/drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c
+++ b/drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c
@@ -53,6 +53,7 @@ static const struct file_operations fops_ampdu_stat = {
.read = seq_read,
.llseek = seq_lseek,
.release = single_release,
+ .owner = THIS_MODULE,
};
static int
@@ -92,6 +93,7 @@ static const struct file_operations fops_dfs_stat = {
.read = seq_read,
.llseek = seq_lseek,
.release = single_release,
+ .owner = THIS_MODULE,
};
static int read_agc(struct seq_file *file, void *data)
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 104/117] mt76: set fops_tx_stats.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (101 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 103/117] mt76: " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 105/117] mt76: mt7915: set fops_sta_stats.owner " Taehee Yoo
` (13 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: e57b7901469f ("mt76: add mac80211 driver for MT7915 PCIe-based chipsets")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
drivers/net/wireless/mediatek/mt76/mt7915/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/mediatek/mt76/mt7915/debugfs.c b/drivers/net/wireless/mediatek/mt76/mt7915/debugfs.c
index 38f473d587c9..31ac338c5526 100644
--- a/drivers/net/wireless/mediatek/mt76/mt7915/debugfs.c
+++ b/drivers/net/wireless/mediatek/mt76/mt7915/debugfs.c
@@ -234,6 +234,7 @@ static const struct file_operations fops_tx_stats = {
.read = seq_read,
.llseek = seq_lseek,
.release = single_release,
+ .owner = THIS_MODULE,
};
static int mt7915_read_temperature(struct seq_file *s, void *data)
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 105/117] mt76: mt7915: set fops_sta_stats.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (102 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 104/117] mt76: set fops_tx_stats.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 106/117] Bluetooth: set dut_mode_fops.owner " Taehee Yoo
` (12 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
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>
---
drivers/net/wireless/mediatek/mt76/mt7915/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/mediatek/mt76/mt7915/debugfs.c b/drivers/net/wireless/mediatek/mt76/mt7915/debugfs.c
index 31ac338c5526..149686906ad4 100644
--- a/drivers/net/wireless/mediatek/mt76/mt7915/debugfs.c
+++ b/drivers/net/wireless/mediatek/mt76/mt7915/debugfs.c
@@ -462,6 +462,7 @@ static const struct file_operations fops_sta_stats = {
.read = seq_read,
.llseek = seq_lseek,
.release = single_release,
+ .owner = THIS_MODULE,
};
void mt7915_sta_add_debugfs(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 106/117] Bluetooth: set dut_mode_fops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (103 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 105/117] mt76: mt7915: set fops_sta_stats.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:51 ` [PATCH net 107/117] Bluetooth: set vendor_diag_fops.owner " Taehee Yoo
` (11 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 4b4148e9acc1 ("Bluetooth: Add support for setting DUT mode")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
net/bluetooth/hci_core.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c
index 68bfe57b6625..5c2e65b00e68 100644
--- a/net/bluetooth/hci_core.c
+++ b/net/bluetooth/hci_core.c
@@ -116,6 +116,7 @@ static const struct file_operations dut_mode_fops = {
.read = dut_mode_read,
.write = dut_mode_write,
.llseek = default_llseek,
+ .owner = THIS_MODULE,
};
static ssize_t vendor_diag_read(struct file *file, char __user *user_buf,
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 107/117] Bluetooth: set vendor_diag_fops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (104 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 106/117] Bluetooth: set dut_mode_fops.owner " Taehee Yoo
@ 2020-10-08 15:51 ` Taehee Yoo
2020-10-08 15:52 ` [PATCH net 108/117] Bluetooth: set force_bredr_smp_fops.owner " Taehee Yoo
` (10 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:51 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 4b4113d6dbdb ("Bluetooth: Add debugfs entry for setting vendor diagnostic mode")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
net/bluetooth/hci_core.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c
index 5c2e65b00e68..6778114f6615 100644
--- a/net/bluetooth/hci_core.c
+++ b/net/bluetooth/hci_core.c
@@ -173,6 +173,7 @@ static const struct file_operations vendor_diag_fops = {
.read = vendor_diag_read,
.write = vendor_diag_write,
.llseek = default_llseek,
+ .owner = THIS_MODULE,
};
static void hci_debugfs_create_basic(struct hci_dev *hdev)
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 108/117] Bluetooth: set force_bredr_smp_fops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (105 preceding siblings ...)
2020-10-08 15:51 ` [PATCH net 107/117] Bluetooth: set vendor_diag_fops.owner " Taehee Yoo
@ 2020-10-08 15:52 ` Taehee Yoo
2020-10-08 15:52 ` [PATCH net 109/117] Bluetooth: set test_smp_fops.owner " Taehee Yoo
` (9 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:52 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 300acfdec916 ("Bluetooth: Introduce force_bredr_smp debugfs option for testing")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
net/bluetooth/smp.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/bluetooth/smp.c b/net/bluetooth/smp.c
index bf4bef13d935..9b96a2d85e86 100644
--- a/net/bluetooth/smp.c
+++ b/net/bluetooth/smp.c
@@ -3407,6 +3407,7 @@ static const struct file_operations force_bredr_smp_fops = {
.read = force_bredr_smp_read,
.write = force_bredr_smp_write,
.llseek = default_llseek,
+ .owner = THIS_MODULE,
};
int smp_register(struct hci_dev *hdev)
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 109/117] Bluetooth: set test_smp_fops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (106 preceding siblings ...)
2020-10-08 15:52 ` [PATCH net 108/117] Bluetooth: set force_bredr_smp_fops.owner " Taehee Yoo
@ 2020-10-08 15:52 ` Taehee Yoo
2020-10-08 15:52 ` [PATCH net 110/117] Bluetooth: set use_debug_keys_fops.owner " Taehee Yoo
` (8 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:52 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 64dd374eac15 ("Bluetooth: Export SMP selftest result in debugfs")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
net/bluetooth/smp.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/bluetooth/smp.c b/net/bluetooth/smp.c
index 9b96a2d85e86..3b91f927aab5 100644
--- a/net/bluetooth/smp.c
+++ b/net/bluetooth/smp.c
@@ -3752,6 +3752,7 @@ static const struct file_operations test_smp_fops = {
.open = simple_open,
.read = test_smp_read,
.llseek = default_llseek,
+ .owner = THIS_MODULE,
};
static int __init run_selftests(struct crypto_shash *tfm_cmac,
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 110/117] Bluetooth: set use_debug_keys_fops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (107 preceding siblings ...)
2020-10-08 15:52 ` [PATCH net 109/117] Bluetooth: set test_smp_fops.owner " Taehee Yoo
@ 2020-10-08 15:52 ` Taehee Yoo
2020-10-08 15:52 ` [PATCH net 111/117] Bluetooth: set sc_only_mode_fops.owner " Taehee Yoo
` (7 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:52 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 0886aea6acd2 ("Bluetooth: Expose debug keys usage setting via debugfs")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
net/bluetooth/hci_debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/bluetooth/hci_debugfs.c b/net/bluetooth/hci_debugfs.c
index 5e8af2658e44..cdf19e494c31 100644
--- a/net/bluetooth/hci_debugfs.c
+++ b/net/bluetooth/hci_debugfs.c
@@ -284,6 +284,7 @@ static const struct file_operations use_debug_keys_fops = {
.open = simple_open,
.read = use_debug_keys_read,
.llseek = default_llseek,
+ .owner = THIS_MODULE,
};
static ssize_t sc_only_mode_read(struct file *file, char __user *user_buf,
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 111/117] Bluetooth: set sc_only_mode_fops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (108 preceding siblings ...)
2020-10-08 15:52 ` [PATCH net 110/117] Bluetooth: set use_debug_keys_fops.owner " Taehee Yoo
@ 2020-10-08 15:52 ` Taehee Yoo
2020-10-08 15:52 ` [PATCH net 112/117] Bluetooth: set DEFINE_QUIRK_ATTRIBUTE.owner " Taehee Yoo
` (6 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:52 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 134c2a89af22 ("Bluetooth: Add debugfs entry to show Secure Connections Only mode")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
net/bluetooth/hci_debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/bluetooth/hci_debugfs.c b/net/bluetooth/hci_debugfs.c
index cdf19e494c31..b8e297e71692 100644
--- a/net/bluetooth/hci_debugfs.c
+++ b/net/bluetooth/hci_debugfs.c
@@ -303,6 +303,7 @@ static const struct file_operations sc_only_mode_fops = {
.open = simple_open,
.read = sc_only_mode_read,
.llseek = default_llseek,
+ .owner = THIS_MODULE,
};
DEFINE_INFO_ATTRIBUTE(hardware_info, hw_info);
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 112/117] Bluetooth: set DEFINE_QUIRK_ATTRIBUTE.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (109 preceding siblings ...)
2020-10-08 15:52 ` [PATCH net 111/117] Bluetooth: set sc_only_mode_fops.owner " Taehee Yoo
@ 2020-10-08 15:52 ` Taehee Yoo
2020-10-08 15:52 ` [PATCH net 113/117] Bluetooth: set ssp_debug_mode_fops.owner " Taehee Yoo
` (5 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:52 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: b55d1abf568c ("Bluetooth: Expose quirks through debugfs")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
net/bluetooth/hci_debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/bluetooth/hci_debugfs.c b/net/bluetooth/hci_debugfs.c
index b8e297e71692..4a26cb544635 100644
--- a/net/bluetooth/hci_debugfs.c
+++ b/net/bluetooth/hci_debugfs.c
@@ -71,6 +71,7 @@ static const struct file_operations __name ## _fops = { \
.read = __name ## _read, \
.write = __name ## _write, \
.llseek = default_llseek, \
+ .owner = THIS_MODULE, \
} \
#define DEFINE_INFO_ATTRIBUTE(__name, __field) \
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 113/117] Bluetooth: set ssp_debug_mode_fops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (110 preceding siblings ...)
2020-10-08 15:52 ` [PATCH net 112/117] Bluetooth: set DEFINE_QUIRK_ATTRIBUTE.owner " Taehee Yoo
@ 2020-10-08 15:52 ` Taehee Yoo
2020-10-08 15:52 ` [PATCH net 114/117] Bluetooth: set force_static_address_fops.owner " Taehee Yoo
` (4 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:52 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 6e07231a80de ("Bluetooth: Expose Secure Simple Pairing debug mode setting in debugfs")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
net/bluetooth/hci_debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/bluetooth/hci_debugfs.c b/net/bluetooth/hci_debugfs.c
index 4a26cb544635..d162736a5856 100644
--- a/net/bluetooth/hci_debugfs.c
+++ b/net/bluetooth/hci_debugfs.c
@@ -441,6 +441,7 @@ static const struct file_operations ssp_debug_mode_fops = {
.open = simple_open,
.read = ssp_debug_mode_read,
.llseek = default_llseek,
+ .owner = THIS_MODULE,
};
static int auto_accept_delay_set(void *data, u64 val)
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 114/117] Bluetooth: set force_static_address_fops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (111 preceding siblings ...)
2020-10-08 15:52 ` [PATCH net 113/117] Bluetooth: set ssp_debug_mode_fops.owner " Taehee Yoo
@ 2020-10-08 15:52 ` Taehee Yoo
2020-10-08 15:52 ` [PATCH net 115/117] Bluetooth: set force_no_mitm_fops.owner " Taehee Yoo
` (3 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:52 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: ac345813c4ac ("Bluetooth: Expose current identity information in debugfs")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
net/bluetooth/hci_debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/bluetooth/hci_debugfs.c b/net/bluetooth/hci_debugfs.c
index d162736a5856..6ea692a3d4a8 100644
--- a/net/bluetooth/hci_debugfs.c
+++ b/net/bluetooth/hci_debugfs.c
@@ -730,6 +730,7 @@ static const struct file_operations force_static_address_fops = {
.read = force_static_address_read,
.write = force_static_address_write,
.llseek = default_llseek,
+ .owner = THIS_MODULE,
};
static int white_list_show(struct seq_file *f, void *ptr)
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 115/117] Bluetooth: set force_no_mitm_fops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (112 preceding siblings ...)
2020-10-08 15:52 ` [PATCH net 114/117] Bluetooth: set force_static_address_fops.owner " Taehee Yoo
@ 2020-10-08 15:52 ` Taehee Yoo
2020-10-08 15:52 ` [PATCH net 116/117] Bluetooth: 6LoWPAN: set lowpan_control_fops.owner " Taehee Yoo
` (2 subsequent siblings)
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:52 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: c2aa30db744d ("Bluetooth: debugfs option to unset MITM flag")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
net/bluetooth/hci_debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/bluetooth/hci_debugfs.c b/net/bluetooth/hci_debugfs.c
index 6ea692a3d4a8..c9a074da16dd 100644
--- a/net/bluetooth/hci_debugfs.c
+++ b/net/bluetooth/hci_debugfs.c
@@ -1122,6 +1122,7 @@ static const struct file_operations force_no_mitm_fops = {
.read = force_no_mitm_read,
.write = force_no_mitm_write,
.llseek = default_llseek,
+ .owner = THIS_MODULE,
};
DEFINE_QUIRK_ATTRIBUTE(quirk_strict_duplicate_filter,
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 116/117] Bluetooth: 6LoWPAN: set lowpan_control_fops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (113 preceding siblings ...)
2020-10-08 15:52 ` [PATCH net 115/117] Bluetooth: set force_no_mitm_fops.owner " Taehee Yoo
@ 2020-10-08 15:52 ` Taehee Yoo
2020-10-08 15:52 ` [PATCH net 117/117] Bluetooth: set test_ecdh_fops.owner " Taehee Yoo
2020-10-08 16:06 ` [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Johannes Berg
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:52 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 6b8d4a6a0314 ("Bluetooth: 6LoWPAN: Use connected oriented channel instead of fixed one")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
net/bluetooth/6lowpan.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/bluetooth/6lowpan.c b/net/bluetooth/6lowpan.c
index cff4944d5b66..0936184f0813 100644
--- a/net/bluetooth/6lowpan.c
+++ b/net/bluetooth/6lowpan.c
@@ -1214,6 +1214,7 @@ static const struct file_operations lowpan_control_fops = {
.write = lowpan_control_write,
.llseek = seq_lseek,
.release = single_release,
+ .owner = THIS_MODULE,
};
static void disconnect_devices(void)
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 117/117] Bluetooth: set test_ecdh_fops.owner to THIS_MODULE
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (114 preceding siblings ...)
2020-10-08 15:52 ` [PATCH net 116/117] Bluetooth: 6LoWPAN: set lowpan_control_fops.owner " Taehee Yoo
@ 2020-10-08 15:52 ` Taehee Yoo
2020-10-08 16:06 ` [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Johannes Berg
116 siblings, 0 replies; 119+ messages in thread
From: Taehee Yoo @ 2020-10-08 15:52 UTC (permalink / raw)
To: davem, kuba, netdev
Cc: ap420073, linux-wireless, wil6210, b43-dev, linux-bluetooth
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.
Fixes: 6de50f9fdb60 ("Bluetooth: Export ECDH selftest result in debugfs")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
---
net/bluetooth/selftest.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/bluetooth/selftest.c b/net/bluetooth/selftest.c
index f71c6fa65fb3..445ea247061b 100644
--- a/net/bluetooth/selftest.c
+++ b/net/bluetooth/selftest.c
@@ -194,6 +194,7 @@ static const struct file_operations test_ecdh_fops = {
.open = simple_open,
.read = test_ecdh_read,
.llseek = default_llseek,
+ .owner = THIS_MODULE,
};
static int __init test_ecdh(void)
--
2.17.1
^ permalink raw reply related [flat|nested] 119+ messages in thread
* [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c
2020-10-08 15:50 [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Taehee Yoo
` (115 preceding siblings ...)
2020-10-08 15:52 ` [PATCH net 117/117] Bluetooth: set test_ecdh_fops.owner " Taehee Yoo
@ 2020-10-08 16:06 ` Johannes Berg
2020-10-09 15:09 ` Kalle Valo
116 siblings, 1 reply; 119+ messages in thread
From: Johannes Berg @ 2020-10-08 16:06 UTC (permalink / raw)
To: Taehee Yoo, davem, kuba, netdev
Cc: linux-wireless, wil6210, b43-dev, linux-bluetooth
On Thu, 2020-10-08 at 15:50 +0000, Taehee Yoo wrote:
> If THIS_MODULE is not set, the module would be removed while debugfs is
> being used.
> It eventually makes kernel panic.
>
Wow, 117 practically identical patches? No thanks ...
Can you merge the ones that belong to a single driver?
net/mac80211/ -> mac80211
net/wireless/ -> cfg80211
etc.
I don't think we need more than one patch for each driver/subsystem.
johannes
^ permalink raw reply [flat|nested] 119+ messages in thread
* [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c
2020-10-08 16:06 ` [PATCH net 001/117] mac80211: set .owner to THIS_MODULE in debugfs_netdev.c Johannes Berg
@ 2020-10-09 15:09 ` Kalle Valo
0 siblings, 0 replies; 119+ messages in thread
From: Kalle Valo @ 2020-10-09 15:09 UTC (permalink / raw)
To: Johannes Berg
Cc: Taehee Yoo, davem, kuba, netdev, linux-wireless, wil6210,
b43-dev, linux-bluetooth
Johannes Berg <johannes@sipsolutions.net> writes:
> On Thu, 2020-10-08 at 15:50 +0000, Taehee Yoo wrote:
>> If THIS_MODULE is not set, the module would be removed while debugfs is
>> being used.
>> It eventually makes kernel panic.
>>
> Wow, 117 practically identical patches? No thanks ...
>
> Can you merge the ones that belong to a single driver?
>
> net/mac80211/ -> mac80211
> net/wireless/ -> cfg80211
>
> etc.
>
> I don't think we need more than one patch for each driver/subsystem.
Yes, one patch per driver is much better. And never send 100 patches in
one go, I will automatically drop these even without looking.
--
https://patchwork.kernel.org/project/linux-wireless/list/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
^ permalink raw reply [flat|nested] 119+ messages in thread