Re: [PATCH] bluetooth: hci_bcsp: fix code style

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

 



Hi Maxim,

> This commit fixed:
> trailing "*/"
> trailing spaces
> mixed indent
> space between ~ and (
> 
> Signed-off-by: Maxim Zhukov <mussitantesmortem@xxxxxxxxx>
> ---
> drivers/bluetooth/hci_bcsp.c | 55 +++++++++++++++++++++++++-------------------
> 1 file changed, 31 insertions(+), 24 deletions(-)
> 
> diff --git a/drivers/bluetooth/hci_bcsp.c b/drivers/bluetooth/hci_bcsp.c
> index 064f2fe..3cfbe1d 100644
> --- a/drivers/bluetooth/hci_bcsp.c
> +++ b/drivers/bluetooth/hci_bcsp.c
> @@ -103,12 +103,12 @@ static const u16 crc_table[] = {
> #define BCSP_CRC_INIT(x) x = 0xffff
> 
> /*
> -   Update crc with next data byte
> -
> -   Implementation note
> -        The data byte is treated as two nibbles.  The crc is generated
> -        in reverse, i.e., bits are fed into the register from the top.
> -*/
> + * Update crc with next data byte
> + *
> + * Implementation note
> + *	The data byte is treated as two nibbles.  The crc is generated
> + *	in reverse, i.e., bits are fed into the register from the top.
> + */

please follow the networking subsystem comment style for multi-line comments.

Regards

Marcel

--
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