ACK: [PATCH] kernelscan: ensure parse_kernel_message returns PARSER_OK

Alex Hung alex.hung at canonical.com
Mon Apr 17 17:27:49 UTC 2017


On 2017-04-13 03:11 AM, Colin King wrote:
> From: Colin Ian King <colin.king at canonical.com>
>
> The function was missing a return PARSER_OK.
>
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
> ---
>  src/utilities/kernelscan.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/utilities/kernelscan.c b/src/utilities/kernelscan.c
> index 759d08cc..c4d0dc57 100644
> --- a/src/utilities/kernelscan.c
> +++ b/src/utilities/kernelscan.c
> @@ -952,6 +952,7 @@ static int parse_kernel_message(parser *p, token *t)
>  		token_clear(t);
>  	}
>  	free(line);
> +	return PARSER_OK;
>  }
>
>  static bool hash_find(char *token)
>

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



More information about the fwts-devel mailing list