Re: [PATCH] Bluetooth: Fix HCI command send functions to use const specifier

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Johan,

* Johan Hedberg <johan.hedberg@xxxxxxxxx> [2013-04-19 10:14:51 +0300]:

> From: Johan Hedberg <johan.hedberg@xxxxxxxxx>
> 
> 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@xxxxxxxxx>
> ---
>  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
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux