[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <479BF21B.8070104@googlemail.com>
Date: Sun, 27 Jan 2008 03:53:15 +0100
From: Michael Kühn <breiteseite1337@...glemail.com>
To: linux-kernel@...r.kernel.org
CC: torvalds@...ux-foundation.org
Subject: [PATCH 1/1] 2.6.24, net/bluetooth/hci_sysfs.c, cleaned code remove
compiler warning
Hi,
the attached Patch will remove a compiler warning in
net/bluetooth/hci_sysfs.c:
--- hci_sysfs.c 2008-01-27 03:48:47.000000000 +0100
+++ hci_sysfs.c_new 2008-01-27 03:37:19.000000000 +0100
@@ -332,7 +332,7 @@
struct device *dev;
struct hci_conn *conn = container_of(work, struct hci_conn, work);
- while (dev = device_find_child(&conn->dev, NULL, __match_tty)) {
+ while ((dev = device_find_child(&conn->dev, NULL, __match_tty))) {
device_move(dev, NULL);
put_device(dev);
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists