Loading include/net/bluetooth/bluetooth.h +1 −1 Original line number Diff line number Diff line Loading @@ -319,7 +319,7 @@ extern void hci_sock_cleanup(void); extern int bt_sysfs_init(void); extern void bt_sysfs_cleanup(void); extern int bt_procfs_init(struct module* module, struct net *net, const char *name, extern int bt_procfs_init(struct net *net, const char *name, struct bt_sock_list* sk_list, int (* seq_show)(struct seq_file *, void *)); extern void bt_procfs_cleanup(struct net *net, const char *name); Loading net/bluetooth/af_bluetooth.c +2 −2 Original line number Diff line number Diff line Loading @@ -634,7 +634,7 @@ static const struct file_operations bt_fops = { .release = seq_release_private }; int bt_procfs_init(struct module* module, struct net *net, const char *name, int bt_procfs_init(struct net *net, const char *name, struct bt_sock_list* sk_list, int (* seq_show)(struct seq_file *, void *)) { Loading @@ -656,7 +656,7 @@ void bt_procfs_cleanup(struct net *net, const char *name) remove_proc_entry(name, net->proc_net); } #else int bt_procfs_init(struct module* module, struct net *net, const char *name, int bt_procfs_init(struct net *net, const char *name, struct bt_sock_list* sk_list, int (* seq_show)(struct seq_file *, void *)) { Loading net/bluetooth/bnep/sock.c +1 −1 Original line number Diff line number Diff line Loading @@ -234,7 +234,7 @@ int __init bnep_sock_init(void) goto error; } err = bt_procfs_init(THIS_MODULE, &init_net, "bnep", &bnep_sk_list, NULL); err = bt_procfs_init(&init_net, "bnep", &bnep_sk_list, NULL); if (err < 0) { BT_ERR("Failed to create BNEP proc file"); bt_sock_unregister(BTPROTO_BNEP); Loading net/bluetooth/cmtp/sock.c +1 −1 Original line number Diff line number Diff line Loading @@ -245,7 +245,7 @@ int cmtp_init_sockets(void) goto error; } err = bt_procfs_init(THIS_MODULE, &init_net, "cmtp", &cmtp_sk_list, NULL); err = bt_procfs_init(&init_net, "cmtp", &cmtp_sk_list, NULL); if (err < 0) { BT_ERR("Failed to create CMTP proc file"); bt_sock_unregister(BTPROTO_HIDP); Loading net/bluetooth/hci_sock.c +1 −1 Original line number Diff line number Diff line Loading @@ -1102,7 +1102,7 @@ int __init hci_sock_init(void) goto error; } err = bt_procfs_init(THIS_MODULE, &init_net, "hci", &hci_sk_list, NULL); err = bt_procfs_init(&init_net, "hci", &hci_sk_list, NULL); if (err < 0) { BT_ERR("Failed to create HCI proc file"); bt_sock_unregister(BTPROTO_HCI); Loading Loading
include/net/bluetooth/bluetooth.h +1 −1 Original line number Diff line number Diff line Loading @@ -319,7 +319,7 @@ extern void hci_sock_cleanup(void); extern int bt_sysfs_init(void); extern void bt_sysfs_cleanup(void); extern int bt_procfs_init(struct module* module, struct net *net, const char *name, extern int bt_procfs_init(struct net *net, const char *name, struct bt_sock_list* sk_list, int (* seq_show)(struct seq_file *, void *)); extern void bt_procfs_cleanup(struct net *net, const char *name); Loading
net/bluetooth/af_bluetooth.c +2 −2 Original line number Diff line number Diff line Loading @@ -634,7 +634,7 @@ static const struct file_operations bt_fops = { .release = seq_release_private }; int bt_procfs_init(struct module* module, struct net *net, const char *name, int bt_procfs_init(struct net *net, const char *name, struct bt_sock_list* sk_list, int (* seq_show)(struct seq_file *, void *)) { Loading @@ -656,7 +656,7 @@ void bt_procfs_cleanup(struct net *net, const char *name) remove_proc_entry(name, net->proc_net); } #else int bt_procfs_init(struct module* module, struct net *net, const char *name, int bt_procfs_init(struct net *net, const char *name, struct bt_sock_list* sk_list, int (* seq_show)(struct seq_file *, void *)) { Loading
net/bluetooth/bnep/sock.c +1 −1 Original line number Diff line number Diff line Loading @@ -234,7 +234,7 @@ int __init bnep_sock_init(void) goto error; } err = bt_procfs_init(THIS_MODULE, &init_net, "bnep", &bnep_sk_list, NULL); err = bt_procfs_init(&init_net, "bnep", &bnep_sk_list, NULL); if (err < 0) { BT_ERR("Failed to create BNEP proc file"); bt_sock_unregister(BTPROTO_BNEP); Loading
net/bluetooth/cmtp/sock.c +1 −1 Original line number Diff line number Diff line Loading @@ -245,7 +245,7 @@ int cmtp_init_sockets(void) goto error; } err = bt_procfs_init(THIS_MODULE, &init_net, "cmtp", &cmtp_sk_list, NULL); err = bt_procfs_init(&init_net, "cmtp", &cmtp_sk_list, NULL); if (err < 0) { BT_ERR("Failed to create CMTP proc file"); bt_sock_unregister(BTPROTO_HIDP); Loading
net/bluetooth/hci_sock.c +1 −1 Original line number Diff line number Diff line Loading @@ -1102,7 +1102,7 @@ int __init hci_sock_init(void) goto error; } err = bt_procfs_init(THIS_MODULE, &init_net, "hci", &hci_sk_list, NULL); err = bt_procfs_init(&init_net, "hci", &hci_sk_list, NULL); if (err < 0) { BT_ERR("Failed to create HCI proc file"); bt_sock_unregister(BTPROTO_HCI); Loading