Re: [PATCH 1/6] android/tester: Style fix

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

 



Hi Grzegorz,

On Thursday 25 of September 2014 16:03:08 Grzegorz Kolodziejczyk wrote:
> ---
>  android/tester-main.c | 12 +++++-------
>  1 file changed, 5 insertions(+), 7 deletions(-)
> 
> diff --git a/android/tester-main.c b/android/tester-main.c
> index b65029a..081a1ce 100644
> --- a/android/tester-main.c
> +++ b/android/tester-main.c
> @@ -440,8 +440,7 @@ static bool match_data(struct step *step)
>  			return false;
>  		}
>  
> -		if (exp->callback_result.state !=
> -						step->callback_result.state) {
> +		if (exp->callback_result.state != step->callback_result.state) {
>  			tester_debug("Callback state don't match");
>  			return false;
>  		}
> @@ -452,8 +451,7 @@ static bool match_data(struct step *step)
>  			return false;
>  		}
>  
> -		if (exp->callback_result.mode !=
> -						step->callback_result.mode) {
> +		if (exp->callback_result.mode != step->callback_result.mode) {
>  			tester_debug("Callback mode don't match");
>  			return false;
>  		}
> @@ -489,7 +487,7 @@ static bool match_data(struct step *step)
>  		}
>  
>  		if (exp->callback_result.app_id !=
> -					step->callback_result.app_id) {
> +						step->callback_result.app_id) {
>  			tester_debug("Callback app_id don't match");
>  			return false;
>  		}
> @@ -874,8 +872,8 @@ static void bond_state_changed_cb(bt_status_t status,
>  
>  	/* Utilize property verification mechanism for bdaddr */
>  	step->callback_result.num_properties = 1;
> -	step->callback_result.properties = create_property(BT_PROPERTY_BDADDR,
> -						remote_bd_addr,
> +	step->callback_result.properties =
> +			create_property(BT_PROPERTY_BDADDR, remote_bd_addr,
>  						sizeof(*remote_bd_addr));
>  
>  	step->callback = CB_BT_BOND_STATE_CHANGED;
> 

Patches 1-3 and 5 applied (with some minor fixes), thanks.
For rest please send updates as discussed offline.

-- 
Best regards, 
Szymon Janc
--
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