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)diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c
index 502552d6e9af..dba8506202ff 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,@@ -172,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)diff --git a/net/bluetooth/hci_debugfs.c b/net/bluetooth/hci_debugfs.c
index 5e8af2658e44..c9a074da16dd 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) \@@ -284,6 +285,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,@@ -302,6 +304,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);@@ -438,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)@@ -726,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)@@ -1117,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,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)diff --git a/net/bluetooth/smp.c b/net/bluetooth/smp.c
index bf4bef13d935..3b91f927aab5 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)@@ -3751,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