Re: [PATCH 2/4] kernel-shark-qt: Restore the alignment in libkshark-configio.c

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

 



On Wed, 29 Aug 2018 19:29:25 +0300
"Yordan Karadzhov (VMware)" <y.karadz@xxxxxxxxx> wrote:

> The alignment of the function arguments has to be fixed after the
> naming convention changes.
> 
> This version of the patch contains a number of improvements suggested
> by Steven Rostedt. Thanks Steven!

I don't think I need credit for a whitespace fix patch ;-)

-- Steve

> 
> Signed-off-by: Yordan Karadzhov (VMware) <y.karadz@xxxxxxxxx>
> ---
>  kernel-shark-qt/src/libkshark-configio.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/kernel-shark-qt/src/libkshark-configio.c b/kernel-shark-qt/src/libkshark-configio.c
> index 484da93..cdc8c76 100644
> --- a/kernel-shark-qt/src/libkshark-configio.c
> +++ b/kernel-shark-qt/src/libkshark-configio.c
> @@ -1034,7 +1034,7 @@ static bool kshark_adv_filters_to_json(struct kshark_context *kshark_ctx,
>  
>  	for (i = 0; events[i]; i++) {
>  		str = tep_filter_make_string(adv_filter,
> -						events[i]->id);
> +					     events[i]->id);
>  		if (!str)
>  			continue;
>  
> @@ -1137,7 +1137,7 @@ static bool kshark_adv_filters_from_json(struct kshark_context *kshark_ctx,
>  			 json_object_get_string(jcond));
>  
>  		ret = tep_filter_add_filter_str(adv_filter,
> -						   filter_str);
> +						filter_str);
>  		if (ret < 0)
>  			goto fail;
>  	}
> @@ -1149,7 +1149,7 @@ static bool kshark_adv_filters_from_json(struct kshark_context *kshark_ctx,
>  	char error_str[200];
>  	int error_status =
>  		tep_strerror(kshark_ctx->pevent, ret, error_str,
> -							 sizeof(error_str));
> +						      sizeof(error_str));
>  
>  	if (error_status == 0)
>  		fprintf(stderr, "filter failed due to: %s\n", error_str);




[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux