mac80211: set .owner to THIS_MODULE in debugfs_netdev.c
Subsystems (29)
PATCH 1/117 mac80211: set .owner to THIS_MODULE in debugfs_netdev.c
If THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- net/mac80211/debugfs_netdev.c | 1 + 1 file changed, 1 insertion(+)
net/mac80211/debugfs_netdev.c +1 -0
@@ -127,6 +127,7 @@ static const struct file_operations name##_ops = { \ .write = (_write), \ .open = simple_open, \ .llseek = generic_file_llseek, \ + .owner = THIS_MODULE, \ }#define _IEEE80211_IF_FILE_R_FN (name) \
Signature · 1 line
2.17.1
PATCH 2/117 mac80211: set rcname_ops.owner to THIS_MODULE
If THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- net/mac80211/rate.c | 1 + 1 file changed, 1 insertion(+)
net/mac80211/rate.c +1 -0
@@ -218,6 +218,7 @@ const struct file_operations rcname_ops = { .read = rcname_read, .open = simple_open, .llseek = default_llseek, + .owner = THIS_MODULE, };#endif
Signature · 1 line
2.17.1
PATCH 3/117 mac80211: set minstrel_ht_stat_fops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- net/mac80211/rc80211_minstrel_ht_debugfs.c | 1 + 1 file changed, 1 insertion(+)
net/mac80211/rc80211_minstrel_ht_debugfs.c +1 -0
@@ -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 *
Signature · 1 line
2.17.1
PATCH 4/117 mac80211: set minstrel_ht_stat_csv_fops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- net/mac80211/rc80211_minstrel_ht_debugfs.c | 1 + 1 file changed, 1 insertion(+)
net/mac80211/rc80211_minstrel_ht_debugfs.c +1 -0
@@ -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
Signature · 1 line
2.17.1
PATCH 5/117 mac80211: set KEY_OPS.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- net/mac80211/debugfs_key.c | 1 + 1 file changed, 1 insertion(+)
net/mac80211/debugfs_key.c +1 -0
@@ -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) \
Signature · 1 line
2.17.1
PATCH 6/117 mac80211: set KEY_OPS_W.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- net/mac80211/debugfs_key.c | 1 + 1 file changed, 1 insertion(+)
net/mac80211/debugfs_key.c +1 -0
@@ -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) \
Signature · 1 line
2.17.1
PATCH 7/117 mac80211: set KEY_CONF_OPS.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- net/mac80211/debugfs_key.c | 1 + 1 file changed, 1 insertion(+)
net/mac80211/debugfs_key.c +1 -0
@@ -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) \
Signature · 1 line
2.17.1
PATCH 8/117 mac80211: set STA_OPS.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- net/mac80211/debugfs_sta.c | 1 + 1 file changed, 1 insertion(+)
net/mac80211/debugfs_sta.c +1 -0
@@ -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) \
Signature · 1 line
2.17.1
PATCH 9/117 mac80211: set STA_OPS_RW.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- net/mac80211/debugfs_sta.c | 1 + 1 file changed, 1 insertion(+)
net/mac80211/debugfs_sta.c +1 -0
@@ -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) \
Signature · 1 line
2.17.1
PATCH 10/117 mac80211: set DEBUGFS_READONLY_FILE_OPS.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- net/mac80211/debugfs.c | 1 + 1 file changed, 1 insertion(+)
net/mac80211/debugfs.c +1 -0
@@ -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...) \
Signature · 1 line
2.17.1
PATCH 11/117 mac80211: set aqm_ops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- net/mac80211/debugfs.c | 1 + 1 file changed, 1 insertion(+)
net/mac80211/debugfs.c +1 -0
@@ -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,
Signature · 1 line
2.17.1
PATCH 12/117 mac80211: debugfs: set airtime_flags_ops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- net/mac80211/debugfs.c | 1 + 1 file changed, 1 insertion(+)
net/mac80211/debugfs.c +1 -0
@@ -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,
Signature · 1 line
2.17.1
PATCH 13/117 mac80211: set aql_txq_limit_ops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- net/mac80211/debugfs.c | 1 + 1 file changed, 1 insertion(+)
net/mac80211/debugfs.c +1 -0
@@ -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,
Signature · 1 line
2.17.1
PATCH 14/117 mac80211: set force_tx_status_ops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- net/mac80211/debugfs.c | 1 + 1 file changed, 1 insertion(+)
net/mac80211/debugfs.c +1 -0
@@ -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
Signature · 1 line
2.17.1
PATCH 15/117 mac80211: set reset_ops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- net/mac80211/debugfs.c | 1 + 1 file changed, 1 insertion(+)
net/mac80211/debugfs.c +1 -0
@@ -359,6 +359,7 @@ static const struct file_operations reset_ops = { .write = reset_write, .open = simple_open, .llseek = noop_llseek, + .owner = THIS_MODULE, };#endif
Signature · 1 line
2.17.1
PATCH 16/117 mac80211: set DEBUGFS_DEVSTATS_FILE.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- net/mac80211/debugfs.c | 1 + 1 file changed, 1 insertion(+)
net/mac80211/debugfs.c +1 -0
@@ -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) \
Signature · 1 line
2.17.1
PATCH 17/117 mac80211/cfg80211: set DEBUGFS_READONLY_FILE.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- net/wireless/debugfs.c | 1 + 1 file changed, 1 insertion(+)
net/wireless/debugfs.c +1 -0
@@ -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",
Signature · 1 line
2.17.1
PATCH 18/117 cfg80211: set ht40allow_map_ops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- net/wireless/debugfs.c | 1 + 1 file changed, 1 insertion(+)
net/wireless/debugfs.c +1 -0
@@ -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) \
Signature · 1 line
2.17.1
PATCH 19/117 net: hsr: set hsr_fops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- net/hsr/hsr_debugfs.c | 1 + 1 file changed, 1 insertion(+)
net/hsr/hsr_debugfs.c +1 -0
@@ -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
Signature · 1 line
2.17.1
PATCH 20/117 batman-adv: set batadv_log_fops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- net/batman-adv/log.c | 1 + 1 file changed, 1 insertion(+)
net/batman-adv/log.c +1 -0
@@ -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, };/**
Signature · 1 line
2.17.1
PATCH 21/117 6lowpan: iphc: set lowpan_ctx_pfx_fops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- net/6lowpan/debugfs.c | 1 + 1 file changed, 1 insertion(+)
net/6lowpan/debugfs.c +1 -0
@@ -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,
Signature · 1 line
2.17.1
PATCH 22/117 netdevsim: set nsim_dev_health_break_fops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/netdevsim/health.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/netdevsim/health.c +1 -0
@@ -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)
Signature · 1 line
2.17.1
PATCH 23/117 netdevsim: set nsim_udp_tunnels_info_reset_fops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/netdevsim/udp_tunnels.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/netdevsim/udp_tunnels.c +1 -0
@@ -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,
Signature · 1 line
2.17.1
PATCH 24/117 netdevsim: set nsim_dev_take_snapshot_fops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/netdevsim/dev.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/netdevsim/dev.c +1 -0
@@ -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,
Signature · 1 line
2.17.1
PATCH 25/117 netdevsim: set nsim_dev_trap_fa_cookie_fops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/netdevsim/dev.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/netdevsim/dev.c +1 -0
@@ -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)
Signature · 1 line
2.17.1
PATCH 26/117 ieee802154: set test_int_fops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/ieee802154/ca8210.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/net/ieee802154/ca8210.c +2 -1
@@ -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 */
Signature · 1 line
2.17.1
PATCH 27/117 i2400m: set i2400m_rx_stats_fops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wimax/i2400m/debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wimax/i2400m/debugfs.c +1 -0
@@ -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, };
Signature · 1 line
2.17.1
PATCH 28/117 i2400m: set i2400m_tx_stats_fops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wimax/i2400m/debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wimax/i2400m/debugfs.c +1 -0
@@ -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, };
Signature · 1 line
2.17.1
PATCH 29/117 dpaa2-eth: set dpaa2_dbg_cpu_ops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c +1 -0
@@ -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)
Signature · 1 line
2.17.1
PATCH 30/117 dpaa2-eth: set dpaa2_dbg_fq_ops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c +1 -0
@@ -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)
Signature · 1 line
2.17.1
PATCH 31/117 dpaa2-eth: set dpaa2_dbg_ch_ops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c +1 -0
@@ -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)
Signature · 1 line
2.17.1
PATCH 32/117 wl1271: set DEBUGFS_READONLY_FILE.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/ti/wlcore/debugfs.h | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/ti/wlcore/debugfs.h +1 -0
@@ -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) \
Signature · 1 line
2.17.1
PATCH 33/117 wl1271: set DEBUGFS_FWSTATS_FILE.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/ti/wlcore/debugfs.h | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/ti/wlcore/debugfs.h +1 -0
@@ -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) \
Signature · 1 line
2.17.1
PATCH 34/117 wlcore: set DEBUGFS_FWSTATS_FILE_ARRAY.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/ti/wlcore/debugfs.h | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/ti/wlcore/debugfs.h +1 -0
@@ -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) \
Signature · 1 line
2.17.1
PATCH 35/117 wl12xx: set DEBUGFS_FWSTATS_FILE_ARRAY.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/ti/wl1251/debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/ti/wl1251/debugfs.c +1 -0
@@ -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) \
Signature · 1 line
2.17.1
PATCH 36/117 wl12xx: set DEBUGFS_READONLY_FILE.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/ti/wl1251/debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/ti/wl1251/debugfs.c +1 -0
@@ -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) \
Signature · 1 line
2.17.1
PATCH 37/117 wl12xx: set tx_queue_len_ops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/ti/wl1251/debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/ti/wl1251/debugfs.c +1 -0
@@ -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,
Signature · 1 line
2.17.1
PATCH 38/117 wl1251: set tx_queue_status_ops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/ti/wl1251/debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/ti/wl1251/debugfs.c +1 -0
@@ -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)
Signature · 1 line
2.17.1
PATCH 39/117 iwlwifi: set rs_sta_dbgfs_scale_table_ops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/intel/iwlwifi/dvm/rs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/intel/iwlwifi/dvm/rs.c +1 -0
@@ -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)
Signature · 1 line
2.17.1
PATCH 40/117 iwlwifi: set rs_sta_dbgfs_stats_table_ops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/intel/iwlwifi/dvm/rs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/intel/iwlwifi/dvm/rs.c +1 -0
@@ -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,
Signature · 1 line
2.17.1
PATCH 41/117 iwlwifi: set DEBUGFS_READ_FILE_OPS.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c +1 -0
@@ -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) \
Signature · 1 line
2.17.1
PATCH 42/117 iwlwifi: set DEBUGFS_WRITE_FILE_OPS.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c +1 -0
@@ -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, \ };
Signature · 1 line
2.17.1
PATCH 43/117 iwlwifi: set DEBUGFS_READ_WRITE_FILE_OPS.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c +1 -0
@@ -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,
Signature · 1 line
2.17.1
PATCH 44/117 iwlwifi: set rs_sta_dbgfs_scale_table_ops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/intel/iwlwifi/mvm/rs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/intel/iwlwifi/mvm/rs.c +1 -0
@@ -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)
Signature · 1 line
2.17.1
PATCH 45/117 iwlwifi: set rs_sta_dbgfs_stats_table_ops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/intel/iwlwifi/mvm/rs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/intel/iwlwifi/mvm/rs.c +1 -0
@@ -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,
Signature · 1 line
2.17.1
PATCH 46/117 iwlwifi: mvm: set rs_sta_dbgfs_drv_tx_stats_ops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/intel/iwlwifi/mvm/rs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/intel/iwlwifi/mvm/rs.c +1 -0
@@ -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,
Signature · 1 line
2.17.1
PATCH 47/117 iwlwifi: mvm: set .owner to THIS_MODULE in debugfs.h
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/intel/iwlwifi/mvm/debugfs.h | 3 +++ 1 file changed, 3 insertions(+)
drivers/net/wireless/intel/iwlwifi/mvm/debugfs.h +3 -0
@@ -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, \ };
Signature · 1 line
2.17.1
PATCH 48/117 iwlwifi: mvm: set iwl_dbgfs_mem_ops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c +1 -0
@@ -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,
Signature · 1 line
2.17.1
PATCH 49/117 iwlwifi: runtime: set _FWRT_DEBUGFS_READ_FILE_OPS.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/intel/iwlwifi/fw/debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/intel/iwlwifi/fw/debugfs.c +1 -0
@@ -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) \
Signature · 1 line
2.17.1
PATCH 50/117 iwlwifi: runtime: set _FWRT_DEBUGFS_READ_WRITE_FILE_OPS.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/intel/iwlwifi/fw/debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/intel/iwlwifi/fw/debugfs.c +1 -0
@@ -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) \
Signature · 1 line
2.17.1
PATCH 51/117 iwlwifi: runtime: set _FWRT_DEBUGFS_WRITE_FILE_OPS.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/intel/iwlwifi/fw/debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/intel/iwlwifi/fw/debugfs.c +1 -0
@@ -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) \
Signature · 1 line
2.17.1
PATCH 52/117 iwlwifi: set DEBUGFS_READ_FILE_OPS.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/intel/iwlegacy/debug.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/intel/iwlegacy/debug.c +1 -0
@@ -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) \
Signature · 1 line
2.17.1
PATCH 53/117 iwlwifi: set DEBUGFS_WRITE_FILE_OPS.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/intel/iwlegacy/debug.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/intel/iwlegacy/debug.c +1 -0
@@ -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) \
Signature · 1 line
2.17.1
PATCH 54/117 iwlwifi: set DEBUGFS_READ_WRITE_FILE_OPS.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/intel/iwlegacy/debug.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/intel/iwlegacy/debug.c +1 -0
@@ -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 *
Signature · 1 line
2.17.1
PATCH 55/117 iwlwifi: set rs_sta_dbgfs_stats_table_ops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/intel/iwlegacy/3945-rs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/intel/iwlegacy/3945-rs.c +1 -0
@@ -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
Signature · 1 line
2.17.1
PATCH 56/117 iwlwifi: set rs_sta_dbgfs_scale_table_ops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/intel/iwlegacy/4965-rs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/intel/iwlegacy/4965-rs.c +1 -0
@@ -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
Signature · 1 line
2.17.1
PATCH 57/117 iwlwifi: set rs_sta_dbgfs_stats_table_ops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/intel/iwlegacy/4965-rs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/intel/iwlegacy/4965-rs.c +1 -0
@@ -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
Signature · 1 line
2.17.1
PATCH 58/117 iwlwifi: set rs_sta_dbgfs_rate_scale_data_ops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/intel/iwlegacy/4965-rs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/intel/iwlegacy/4965-rs.c +1 -0
@@ -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
Signature · 1 line
2.17.1
PATCH 59/117 iwlagn: set rs_sta_dbgfs_rate_scale_data_ops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/intel/iwlwifi/dvm/rs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/intel/iwlwifi/dvm/rs.c +1 -0
@@ -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,
Signature · 1 line
2.17.1
PATCH 60/117 iwlagn: set DEBUGFS_READ_FILE_OPS.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/intel/iwlwifi/pcie/trans.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/intel/iwlwifi/pcie/trans.c +1 -0
@@ -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) \
Signature · 1 line
2.17.1
PATCH 61/117 iwlagn: set DEBUGFS_WRITE_FILE_OPS.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/intel/iwlwifi/pcie/trans.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/intel/iwlwifi/pcie/trans.c +1 -0
@@ -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) \
Signature · 1 line
2.17.1
PATCH 62/117 iwlagn: set DEBUGFS_READ_WRITE_FILE_OPS.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/intel/iwlwifi/pcie/trans.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/intel/iwlwifi/pcie/trans.c +1 -0
@@ -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 {
Signature · 1 line
2.17.1
PATCH 63/117 rtlwifi: set file_ops_common.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/realtek/rtlwifi/debug.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/realtek/rtlwifi/debug.c +1 -0
@@ -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)
Signature · 1 line
2.17.1
PATCH 64/117 ath11k: set fops_extd_tx_stats.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/ath/ath11k/debug.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/net/wireless/ath/ath11k/debug.c +2 -1
@@ -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,
Signature · 1 line
2.17.1
PATCH 65/117 ath11k: set fops_extd_rx_stats.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/ath/ath11k/debug.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/ath/ath11k/debug.c +1 -0
@@ -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,
Signature · 1 line
2.17.1
PATCH 66/117 ath11k: set fops_pktlog_filter.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/ath/ath11k/debug.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/net/wireless/ath/ath11k/debug.c +2 -1
@@ -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,
Signature · 1 line
2.17.1
PATCH 67/117 ath11k: set fops_simulate_radar.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/ath/ath11k/debug.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/net/wireless/ath/ath11k/debug.c +2 -1
@@ -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)
Signature · 1 line
2.17.1
PATCH 68/117 ath10k: set fops_pktlog_filter.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/ath/ath10k/debug.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/net/wireless/ath/ath10k/debug.c +2 -1
@@ -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,
Signature · 1 line
2.17.1
PATCH 69/117 ath10k: set fops_quiet_period.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/ath/ath10k/debug.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/net/wireless/ath/ath10k/debug.c +2 -1
@@ -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,
Signature · 1 line
2.17.1
PATCH 70/117 ath10k: set fops_btcoex.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/ath/ath10k/debug.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/net/wireless/ath/ath10k/debug.c +2 -1
@@ -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,
Signature · 1 line
2.17.1
PATCH 71/117 ath10k: set fops_enable_extd_tx_stats.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/ath/ath10k/debug.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/net/wireless/ath/ath10k/debug.c +2 -1
@@ -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,
Signature · 1 line
2.17.1
PATCH 72/117 ath10k: set fops_peer_stats.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/ath/ath10k/debug.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/net/wireless/ath/ath10k/debug.c +2 -1
@@ -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,
Signature · 1 line
2.17.1
PATCH 73/117 wcn36xx: set fops_wcn36xx_bmps.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/ath/wcn36xx/debug.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/ath/wcn36xx/debug.c +1 -0
@@ -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,
Signature · 1 line
2.17.1
PATCH 74/117 wcn36xx: set fops_wcn36xx_dump.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/ath/wcn36xx/debug.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/ath/wcn36xx/debug.c +1 -0
@@ -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) \
Signature · 1 line
2.17.1
PATCH 75/117 wireless: set fops_ioblob.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/ath/wil6210/debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/ath/wil6210/debugfs.c +1 -0
@@ -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
Signature · 1 line
2.17.1
PATCH 76/117 wil6210: set fops_rxon.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/ath/wil6210/debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/ath/wil6210/debugfs.c +1 -0
@@ -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,
Signature · 1 line
2.17.1
PATCH 77/117 wil6210: set fops_rbufcap.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/ath/wil6210/debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/ath/wil6210/debugfs.c +1 -0
@@ -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:
Signature · 1 line
2.17.1
PATCH 78/117 wil6210: set fops_back.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/ath/wil6210/debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/ath/wil6210/debugfs.c +1 -0
@@ -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:
Signature · 1 line
2.17.1
PATCH 79/117 wil6210: set fops_pmccfg.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/ath/wil6210/debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/ath/wil6210/debugfs.c +1 -0
@@ -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 = {
Signature · 1 line
2.17.1
PATCH 80/117 wil6210: set fops_pmcdata.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/ath/wil6210/debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/ath/wil6210/debugfs.c +1 -0
@@ -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)
Signature · 1 line
2.17.1
PATCH 81/117 wil6210: set fops_pmcring.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/ath/wil6210/debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/ath/wil6210/debugfs.c +1 -0
@@ -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---*/
Signature · 1 line
2.17.1
PATCH 82/117 wil6210: set fops_txmgmt.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/ath/wil6210/debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/ath/wil6210/debugfs.c +1 -0
@@ -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
Signature · 1 line
2.17.1
PATCH 83/117 wil6210: set fops_wmi.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/ath/wil6210/debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/ath/wil6210/debugfs.c +1 -0
@@ -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)
Signature · 1 line
2.17.1
PATCH 84/117 wil6210: set fops_recovery.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/ath/wil6210/debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/ath/wil6210/debugfs.c +1 -0
@@ -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------------*/
Signature · 1 line
2.17.1
PATCH 85/117 wil6210: set fops_tx_latency.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/ath/wil6210/debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/ath/wil6210/debugfs.c +1 -0
@@ -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,
Signature · 1 line
2.17.1
PATCH 86/117 wil6210: set fops_link_stats.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/ath/wil6210/debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/ath/wil6210/debugfs.c +1 -0
@@ -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
Signature · 1 line
2.17.1
PATCH 87/117 wil6210: set fops_link_stats_global.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/ath/wil6210/debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/ath/wil6210/debugfs.c +1 -0
@@ -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,
Signature · 1 line
2.17.1
PATCH 88/117 wil6210: set fops_led_cfg.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/ath/wil6210/debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/ath/wil6210/debugfs.c +1 -0
@@ -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:
Signature · 1 line
2.17.1
PATCH 89/117 wil6210: set fops_led_blink_time.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/ath/wil6210/debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/ath/wil6210/debugfs.c +1 -0
@@ -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------------*/
Signature · 1 line
2.17.1
PATCH 90/117 wil6210: set fops_fw_capabilities.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/ath/wil6210/debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/ath/wil6210/debugfs.c +1 -0
@@ -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------------*/
Signature · 1 line
2.17.1
PATCH 91/117 wil6210: set fops_fw_version.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/ath/wil6210/debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/ath/wil6210/debugfs.c +1 -0
@@ -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---------*/
Signature · 1 line
2.17.1
PATCH 92/117 wil6210: set fops_suspend_stats.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/ath/wil6210/debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/ath/wil6210/debugfs.c +1 -0
@@ -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---------*/
Signature · 1 line
2.17.1
PATCH 93/117 wil6210: set fops_compressed_rx_status.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/ath/wil6210/debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/ath/wil6210/debugfs.c +1 -0
@@ -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, };/*----------------*/
Signature · 1 line
2.17.1
PATCH 94/117 cw1200: set fops_wsm_dumps.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/st/cw1200/debug.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/st/cw1200/debug.c +1 -0
@@ -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)
Signature · 1 line
2.17.1
PATCH 95/117 brcmfmac: set bus_reset_fops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c +1 -0
@@ -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)
Signature · 1 line
2.17.1
PATCH 96/117 b43legacy: set B43legacy_DEBUGFS_FOPS.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/broadcom/b43legacy/debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/broadcom/b43legacy/debugfs.c +1 -0
@@ -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), \
Signature · 1 line
2.17.1
PATCH 97/117 b43: set B43_DEBUGFS_FOPS.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/broadcom/b43/debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/broadcom/b43/debugfs.c +1 -0
@@ -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), \
Signature · 1 line
2.17.1
PATCH 98/117 wireless: mwifiex: set .owner to THIS_MODULE in debugfs.c
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/marvell/mwifiex/debugfs.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/net/wireless/marvell/mwifiex/debugfs.c +3 -0
@@ -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, \ };
Signature · 1 line
2.17.1
PATCH 99/117 net: mt7601u: set fops_ampdu_stat.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/mediatek/mt7601u/debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/mediatek/mt7601u/debugfs.c +1 -0
@@ -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
Signature · 1 line
2.17.1
PATCH 100/117 net: mt7601u: set fops_eeprom_param.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/mediatek/mt7601u/debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/mediatek/mt7601u/debugfs.c +1 -0
@@ -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)
Signature · 1 line
2.17.1
PATCH 101/117 mt76: mt7615: set fops_ampdu_stat.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/mediatek/mt76/mt7615/debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/mediatek/mt76/mt7615/debugfs.c +1 -0
@@ -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
Signature · 1 line
2.17.1
PATCH 102/117 mt76: mt7603: set fops_ampdu_stat.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/mediatek/mt76/mt7603/debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/mediatek/mt76/mt7603/debugfs.c +1 -0
@@ -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)
Signature · 1 line
2.17.1
PATCH 103/117 mt76: set fops_ampdu_stat.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c +2 -0
@@ -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)
Signature · 1 line
2.17.1
PATCH 104/117 mt76: set fops_tx_stats.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/mediatek/mt76/mt7915/debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/mediatek/mt76/mt7915/debugfs.c +1 -0
@@ -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)
Signature · 1 line
2.17.1
PATCH 105/117 mt76: mt7915: set fops_sta_stats.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- drivers/net/wireless/mediatek/mt76/mt7915/debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/wireless/mediatek/mt76/mt7915/debugfs.c +1 -0
@@ -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,
Signature · 1 line
2.17.1
PATCH 106/117 Bluetooth: set dut_mode_fops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- net/bluetooth/hci_core.c | 1 + 1 file changed, 1 insertion(+)
net/bluetooth/hci_core.c +1 -0
@@ -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,
Signature · 1 line
2.17.1
PATCH 107/117 Bluetooth: set vendor_diag_fops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- net/bluetooth/hci_core.c | 1 + 1 file changed, 1 insertion(+)
net/bluetooth/hci_core.c +1 -0
@@ -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)
Signature · 1 line
2.17.1
PATCH 108/117 Bluetooth: set force_bredr_smp_fops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- net/bluetooth/smp.c | 1 + 1 file changed, 1 insertion(+)
net/bluetooth/smp.c +1 -0
@@ -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)
Signature · 1 line
2.17.1
PATCH 109/117 Bluetooth: set test_smp_fops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- net/bluetooth/smp.c | 1 + 1 file changed, 1 insertion(+)
net/bluetooth/smp.c +1 -0
@@ -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,
Signature · 1 line
2.17.1
PATCH 110/117 Bluetooth: set use_debug_keys_fops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- net/bluetooth/hci_debugfs.c | 1 + 1 file changed, 1 insertion(+)
net/bluetooth/hci_debugfs.c +1 -0
@@ -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,
Signature · 1 line
2.17.1
PATCH 111/117 Bluetooth: set sc_only_mode_fops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- net/bluetooth/hci_debugfs.c | 1 + 1 file changed, 1 insertion(+)
net/bluetooth/hci_debugfs.c +1 -0
@@ -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);
Signature · 1 line
2.17.1
PATCH 112/117 Bluetooth: set DEFINE_QUIRK_ATTRIBUTE.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- net/bluetooth/hci_debugfs.c | 1 + 1 file changed, 1 insertion(+)
net/bluetooth/hci_debugfs.c +1 -0
@@ -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) \
Signature · 1 line
2.17.1
PATCH 113/117 Bluetooth: set ssp_debug_mode_fops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- net/bluetooth/hci_debugfs.c | 1 + 1 file changed, 1 insertion(+)
net/bluetooth/hci_debugfs.c +1 -0
@@ -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)
Signature · 1 line
2.17.1
PATCH 114/117 Bluetooth: set force_static_address_fops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- net/bluetooth/hci_debugfs.c | 1 + 1 file changed, 1 insertion(+)
net/bluetooth/hci_debugfs.c +1 -0
@@ -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)
Signature · 1 line
2.17.1
PATCH 115/117 Bluetooth: set force_no_mitm_fops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- net/bluetooth/hci_debugfs.c | 1 + 1 file changed, 1 insertion(+)
net/bluetooth/hci_debugfs.c +1 -0
@@ -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,
Signature · 1 line
2.17.1
PATCH 116/117 Bluetooth: 6LoWPAN: set lowpan_control_fops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- net/bluetooth/6lowpan.c | 1 + 1 file changed, 1 insertion(+)
net/bluetooth/6lowpan.c +1 -0
@@ -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 )
Signature · 1 line
2.17.1
PATCH 117/117 Bluetooth: set test_ecdh_fops.owner to THIS_MODULE
In reply to Taehee YooIf THIS_MODULE is not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.
--- net/bluetooth/selftest.c | 1 + 1 file changed, 1 insertion(+)
net/bluetooth/selftest.c +1 -0
@@ -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 )
Signature · 1 line
2.17.1
Johannes Berg
maintainerQuoted 4 lines · Taehee Yoo
If
THIS_MODULEis 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/ -> mac80211net/wireless/ -> cfg80211
etc.
I don't think we need more than one patch for each driver/subsystem.
johannes
Quoted 7 lines · Johannes Berg
Quoted 4 lines · Taehee Yoo
If
THIS_MODULEis not set, the module would be removed while debugfs is being used.
It eventually makes kernel panic.Wow, 117 practically identical patches? No thanks ...
Quoted 8 lines
Can you merge the ones that belong to a single driver?
net/mac80211/-> mac80211net/wireless/-> cfg80211etc.
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.
Signature · 3 lines
https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches