From 6b3f7df451c9d6ef9c5cd31d2a4e2c4b871848d9 Mon Sep 17 00:00:00 2001 From: David Herrmann Date: Thu, 9 Feb 2012 21:58:34 +0100 Subject: [PATCH] --- yaml --- r: 290951 b: refs/heads/master c: 2dd106887d6503819f2cedc408497023547439bb h: refs/heads/master i: 290949: 26771a7c8c1202e5a89a0b6edc72ebcc8a5240e8 290947: b7f742de28613dcacb6d7381071a311156380b53 290943: 5ad1f2a53fafbb64cb37b0f7e75663d3aa8a61f4 v: v3 --- [refs] | 2 +- trunk/net/bluetooth/hci_sysfs.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index 591614004034..189130daee40 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3dc07322b1ce3c8477690d54ebbf15a165f43066 +refs/heads/master: 2dd106887d6503819f2cedc408497023547439bb diff --git a/trunk/net/bluetooth/hci_sysfs.c b/trunk/net/bluetooth/hci_sysfs.c index 17e6cd48ad4d..bc154298979a 100644 --- a/trunk/net/bluetooth/hci_sysfs.c +++ b/trunk/net/bluetooth/hci_sysfs.c @@ -79,8 +79,8 @@ static const struct attribute_group *bt_link_groups[] = { static void bt_link_release(struct device *dev) { - void *data = to_hci_conn(dev); - kfree(data); + struct hci_conn *conn = to_hci_conn(dev); + kfree(conn); } static struct device_type bt_link = { @@ -368,8 +368,8 @@ static const struct attribute_group *bt_host_groups[] = { static void bt_host_release(struct device *dev) { - void *data = to_hci_dev(dev); - kfree(data); + struct hci_dev *hdev = to_hci_dev(dev); + kfree(hdev); module_put(THIS_MODULE); }