ACK: [PATCH] uefi: uefirtauthvar: fix trivial indentation issues

Alex Hung alex.hung at canonical.com
Mon Mar 7 10:19:01 UTC 2016


On 03/03/2016 04:39 PM, Colin King wrote:
> From: Colin Ian King <colin.king at canonical.com>
>
> fix indentation, no functional change
>
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
> ---
>   src/uefi/uefirtauthvar/uefirtauthvar.c | 34 +++++++++++++++++-----------------
>   1 file changed, 17 insertions(+), 17 deletions(-)
>
> diff --git a/src/uefi/uefirtauthvar/uefirtauthvar.c b/src/uefi/uefirtauthvar/uefirtauthvar.c
> index 7ed703f..8f3d5f5 100644
> --- a/src/uefi/uefirtauthvar/uefirtauthvar.c
> +++ b/src/uefi/uefirtauthvar/uefirtauthvar.c
> @@ -266,7 +266,7 @@ static int uefirtauthvar_test2(fwts_framework *fw)
>   		fwts_failed(fw, LOG_LEVEL_MEDIUM,
>   			"UEFISetSameAuthVar",
>   			"Set authenticated variable fail");
> -			fwts_uefi_print_status_info(fw, status);
> +		fwts_uefi_print_status_info(fw, status);
>   	}
>
>   	fwts_failed(fw, LOG_LEVEL_HIGH,
> @@ -306,7 +306,7 @@ static int uefirtauthvar_test3(fwts_framework *fw)
>   		fwts_failed(fw, LOG_LEVEL_MEDIUM,
>   			"UEFISetDiffAuthVar",
>   			"Set different valid authenticated variable fail");
> -			fwts_uefi_print_status_info(fw, status);
> +		fwts_uefi_print_status_info(fw, status);
>   	}
>
>   	fwts_failed(fw, LOG_LEVEL_HIGH,
> @@ -374,17 +374,17 @@ static int uefirtauthvar_test4(fwts_framework *fw)
>   		if (i < sizeof(AuthVarCreateData)) {
>   			if (data[i] != AuthVarCreateData[i]) {
>   				fwts_failed(fw, LOG_LEVEL_HIGH,
> -				"UEFIAppendAuthVar",
> -				"Get authenticated variable data are not the "
> -				"same as it set.");
> +					"UEFIAppendAuthVar",
> +					"Get authenticated variable data are not the "
> +					"same as it set.");
>   				return FWTS_ERROR;
>   			}
>   		} else {
>   			if (data[i] != AuthVarAppendData[i - sizeof(AuthVarCreateData)]) {
>   				fwts_failed(fw, LOG_LEVEL_HIGH,
> -				"UEFIAppendAuthVar",
> -				"Get authenticated variable data are not the "
> -				"same as it set.");
> +					"UEFIAppendAuthVar",
> +					"Get authenticated variable data are not the "
> +					"same as it set.");
>   				return FWTS_ERROR;
>   			}
>   		}
> @@ -498,7 +498,7 @@ static int uefirtauthvar_test6(fwts_framework *fw)
>   		fwts_failed(fw, LOG_LEVEL_MEDIUM,
>   			"UEFISetOldAuthVar",
>   			"Set authenticated variable fail");
> -			fwts_uefi_print_status_info(fw, status);
> +		fwts_uefi_print_status_info(fw, status);
>   	}
>
>   	fwts_failed(fw, LOG_LEVEL_HIGH,
> @@ -589,7 +589,7 @@ static int uefirtauthvar_test8(fwts_framework *fw)
>   		fwts_failed(fw, LOG_LEVEL_MEDIUM,
>   			"UEFISetAuthVarInvalidData",
>   			"Set authenticated variable fail");
> -			fwts_uefi_print_status_info(fw, status);
> +		fwts_uefi_print_status_info(fw, status);
>   	}
>
>   	fwts_failed(fw, LOG_LEVEL_HIGH,
> @@ -624,7 +624,7 @@ static int uefirtauthvar_test9(fwts_framework *fw)
>   		fwts_failed(fw, LOG_LEVEL_MEDIUM,
>   			"UEFISetAuthVarInvalidTime",
>   			"Set authenticated variable fail");
> -			fwts_uefi_print_status_info(fw, status);
> +		fwts_uefi_print_status_info(fw, status);
>   	}
>
>   	fwts_failed(fw, LOG_LEVEL_HIGH,
> @@ -660,7 +660,7 @@ static int uefirtauthvar_test10(fwts_framework *fw)
>   		fwts_failed(fw, LOG_LEVEL_MEDIUM,
>   			"UEFISetAuthVarDiffGuid",
>   			"Set authenticated variable fail");
> -			fwts_uefi_print_status_info(fw, status);
> +		fwts_uefi_print_status_info(fw, status);
>   	}
>
>   	fwts_failed(fw, LOG_LEVEL_HIGH,
> @@ -703,7 +703,7 @@ static int uefirtauthvar_test11(fwts_framework *fw)
>   		fwts_failed(fw, LOG_LEVEL_MEDIUM,
>   			"UEFISetAuthVarInvalidAttr",
>   			"Set authenticated variable fail");
> -			fwts_uefi_print_status_info(fw, status);
> +		fwts_uefi_print_status_info(fw, status);
>   	}
>
>   	fwts_failed(fw, LOG_LEVEL_HIGH,
> @@ -764,10 +764,10 @@ static int uefirtauthvar_test12(fwts_framework *fw)
>   	for (i = 0; i < sizeof(AuthVarCreateData); i++) {
>   		if (data[i] != AuthVarCreateData[i]) {
>   			fwts_failed(fw, LOG_LEVEL_HIGH,
> -			"UEFISetAuthVarDiff",
> -			"Get authenticated variable data are not the "
> -			"same as it set.");
> -		return FWTS_ERROR;
> +				"UEFISetAuthVarDiff",
> +				"Get authenticated variable data are not the "
> +				"same as it set.");
> +			return FWTS_ERROR;
>   		}
>   	}
>
>


Acked-by: Alex Hung <alex.hung at canonical.com>



More information about the fwts-devel mailing list