From: Johan Hedberg <johan.hedberg@gmail.com>
To: Szymon Janc <szymon@janc.net.pl>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH] Bluetooth: Use NULL instead of integer for mgmt_device_connected param
Date: Wed, 29 Feb 2012 19:51:05 -0600 [thread overview]
Message-ID: <20120301015105.GH26492@x220> (raw)
In-Reply-To: <1329051335-14246-1-git-send-email-szymon@janc.net.pl>
Hi Szymon,
On Sun, Feb 12, 2012, Szymon Janc wrote:
> Last param of mgmt_device_connected is of pointer type, so use NULL
> instead of 0 for it. This fix following sparse warning:
>
> CHECK net/bluetooth/hci_event.c
> net/bluetooth/hci_event.c:3262:74: warning: Using plain integer as NULL pointer
>
> Signed-off-by: Szymon Janc <szymon@janc.net.pl>
> ---
> net/bluetooth/hci_event.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
Applied to my bluetooth-next tree. Thanks.
Johan
prev parent reply other threads:[~2012-03-01 1:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-12 12:55 [PATCH] Bluetooth: Use NULL instead of integer for mgmt_device_connected param Szymon Janc
2012-03-01 1:51 ` Johan Hedberg [this message]
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=20120301015105.GH26492@x220 \
--to=johan.hedberg@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=szymon@janc.net.pl \
/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;
as well as URLs for NNTP newsgroup(s).