Re: [PATCH] bluetooth: Fixed checkpatch warnings

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

 



Hi Cristian,

* Cristian Chilipirea <cristian.chilipirea@xxxxxxxxx> [2012-05-09 08:44:52 +0300]:

> Fixed some checkpatch warnings in mgmt.c.
> 
> Signed-off-by: Cristian Chilipirea <cristian.chilipirea@xxxxxxxxx>
> ---
>  net/bluetooth/mgmt.c |   11 ++++++-----
>  1 files changed, 6 insertions(+), 5 deletions(-)
>  mode change 100644 => 100755 net/bluetooth/mgmt.c
> 
> diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c
> old mode 100644
> new mode 100644
> index 4bb03b1..494004d
> --- a/net/bluetooth/mgmt.c
> +++ b/net/bluetooth/mgmt.c
> @@ -1122,8 +1122,8 @@ static int set_ssp(struct sock *sk, struct hci_dev *hdev, void *data, u16 len)
>  	}
>  
>  	if (mgmt_pending_find(MGMT_OP_SET_SSP, hdev)) {
> -	     err = cmd_status(sk, hdev->id, MGMT_OP_SET_SSP,
> -			      MGMT_STATUS_BUSY);
> +		err = cmd_status(sk, hdev->id, MGMT_OP_SET_SSP,
> +				 MGMT_STATUS_BUSY);
>  		goto failed;
>  	}
>  
> @@ -2884,7 +2884,8 @@ int mgmt_write_scan_failed(struct hci_dev *hdev, u8 scan, u8 status)
>  	return 0;
>  }
>  
> -int mgmt_new_link_key(struct hci_dev *hdev, struct link_key *key, bool persistent)
> +int mgmt_new_link_key(struct hci_dev *hdev, struct link_key *key,
> +		      bool persistent)

It turns out that all your proposed fixes but this were already fixed in
bluetooth-next. I went ahead and applied only this one, patch is now upstream.
Thanks.

	Gustavo

Attachment: pgpvLZAzLJ9yJ.pgp
Description: PGP signature


[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