lkml.org 
[lkml]   [2008]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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);
}

\
 
 \ /
  Last update: 2008-01-27 03:57    [W:0.043 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site