public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Michael Kühn" <breiteseite1337@googlemail.com>
To: linux-kernel@vger.kernel.org
Cc: torvalds@linux-foundation.org
Subject: [PATCH 1/1] 2.6.24, net/bluetooth/hci_sysfs.c, cleaned code remove compiler warning
Date: Sun, 27 Jan 2008 03:53:15 +0100	[thread overview]
Message-ID: <479BF21B.8070104@googlemail.com> (raw)

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);
        }

             reply	other threads:[~2008-01-27  2:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-27  2:53 Michael Kühn [this message]
2008-01-27  7:00 ` [PATCH 1/1] 2.6.24, net/bluetooth/hci_sysfs.c, cleaned code remove compiler warning Linus Torvalds

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=479BF21B.8070104@googlemail.com \
    --to=breiteseite1337@googlemail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox