From: Gustavo Padovan <gustavo@padovan.org>
To: Johan Hedberg <johan.hedberg@gmail.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH] Bluetooth: Fix HCI command send functions to use const specifier
Date: Fri, 19 Apr 2013 10:35:34 -0300 [thread overview]
Message-ID: <20130419133534.GA2194@joana> (raw)
In-Reply-To: <1366355691-3173-1-git-send-email-johan.hedberg@gmail.com>
Hi Johan,
* Johan Hedberg <johan.hedberg@gmail.com> [2013-04-19 10:14:51 +0300]:
> From: Johan Hedberg <johan.hedberg@intel.com>
>
> All HCI command send functions that take a pointer to the command
> parameters do not need to modify the content in any way (they merely
> copy the data to an skb). Therefore, the parameter type should be
> declared const. This also allows passing already const parameters to
> these APIs which previously would have generated a compiler warning.
>
> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
> ---
> include/net/bluetooth/hci_core.h | 14 ++++++++------
> net/bluetooth/hci_core.c | 16 +++++++++-------
> 2 files changed, 17 insertions(+), 13 deletions(-)
Patch has been applied to bluetooth-next. Thanks.
Gustavo
prev parent reply other threads:[~2013-04-19 13:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-19 7:14 [PATCH] Bluetooth: Fix HCI command send functions to use const specifier Johan Hedberg
2013-04-19 13:35 ` Gustavo Padovan [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=20130419133534.GA2194@joana \
--to=gustavo@padovan.org \
--cc=johan.hedberg@gmail.com \
--cc=linux-bluetooth@vger.kernel.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