ACK: [PATCH 19/26] dmi: dmi_decode: failed_count should be uint32_t

Alex Hung alex.hung at canonical.com
Mon Oct 15 06:00:01 UTC 2012


On 10/15/2012 04:32 AM, Colin King wrote:
> From: Colin Ian King <colin.king at canonical.com>
>
> Declare failed_count as uint32_t to match the same type as
> fw->minor_tests.failed
>
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
> ---
>   src/dmi/dmi_decode/dmi_decode.c |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/dmi/dmi_decode/dmi_decode.c b/src/dmi/dmi_decode/dmi_decode.c
> index ca307ef..aa1ce15 100644
> --- a/src/dmi/dmi_decode/dmi_decode.c
> +++ b/src/dmi/dmi_decode/dmi_decode.c
> @@ -443,7 +443,7 @@ static void dmi_decode_entry(fwts_framework *fw,
>   	char	*table;
>   	int	i;
>   	int 	len;
> -	int	failed_count = fw->minor_tests.failed;
> +	uint32_t failed_count = fw->minor_tests.failed;
>   	int	battery_count;
>   	int	ret;
>   	int	both_ok;
>

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



More information about the fwts-devel mailing list