All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Ferron <chris.e.ferron at linux.intel.com>
To: powertop@lists.01.org
Subject: Re: [Powertop] [PATCH] fix typo and correct coding styles in report_formatter
Date: Mon, 15 Oct 2012 09:23:37 -0700	[thread overview]
Message-ID: <507C3889.6030108@linux.intel.com> (raw)
In-Reply-To: 20121015092546.GA3140@swordfish.minsk.epam.com

[-- Attachment #1: Type: text/plain, Size: 2785 bytes --]

On 10/15/2012 02:25 AM, Sergey Senozhatsky wrote:
> [PATCH] fix typo and correct coding styles in report_formatter
>
> Igor noted a typo and coding styles errors in previous patch, correct them.
>
> Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky(a)gmail.com>
>
> ---
>
>   src/report/report-formatter.h | 36 ++++++++++++++++++------------------
>   1 file changed, 18 insertions(+), 18 deletions(-)
>
> diff --git a/src/report/report-formatter.h b/src/report/report-formatter.h
> index 7f9f544..d532f30 100644
> --- a/src/report/report-formatter.h
> +++ b/src/report/report-formatter.h
> @@ -33,33 +33,33 @@ class report_formatter
>   public:
>   	virtual ~report_formatter() {}
>   
> -	virtual void finish_report() {};
> -	virtual const char *get_result() {return "Basic report_formatter::get_resul call\n";};
> -	virtual void clear_result() {};
> +	virtual void finish_report() {}
> +	virtual const char *get_result() {return "Basic report_formatter::get_result() call\n";}
> +	virtual void clear_result() {}
>   
> -	virtual void add(const char *str) {};
> -	virtual void addv(const char *fmt, va_list ap) {};
> +	virtual void add(const char *str) {}
> +	virtual void addv(const char *fmt, va_list ap) {}
>   
> -	virtual void add_header(const char *header, int level) {};
> +	virtual void add_header(const char *header, int level) {}
>   
> -	virtual void begin_section(section_type stype) {};
> -	virtual void end_section() {};
> +	virtual void begin_section(section_type stype) {}
> +	virtual void end_section() {}
>   
> -	virtual void begin_table(table_type ttype) {};
> -	virtual void end_table() {};
> +	virtual void begin_table(table_type ttype) {}
> +	virtual void end_table() {}
>   
> -	virtual void begin_row(row_type rtype) {};
> -	virtual void end_row() {};
> +	virtual void begin_row(row_type rtype) {}
> +	virtual void end_row() {}
>   
> -	virtual void begin_cell(cell_type ctype) {};
> -	virtual void end_cell() {};
> -	virtual void add_empty_cell() {};
> +	virtual void begin_cell(cell_type ctype) {}
> +	virtual void end_cell() {}
> +	virtual void add_empty_cell() {}
>   
> -	virtual void begin_paragraph() {};
> -	virtual void end_paragraph() {};
> +	virtual void begin_paragraph() {}
> +	virtual void end_paragraph() {}
>   
>   	/* For quad-colouring CPU tables in HTML */
> -	virtual void set_cpu_number(int nr) {};
> +	virtual void set_cpu_number(int nr) {}
>   };
>   
>   #endif /* _REPORT_FORMATTER_H_ */
>
> _______________________________________________
> PowerTop mailing list
> PowerTop(a)lists.01.org
> https://lists.01.org/mailman/listinfo/powertop
>
>
Your patch has been merged.
Sorry for merging early and missing types, but thank you for the quick fix.
-C

             reply	other threads:[~2012-10-15 16:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-15 16:23 Chris Ferron [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-10-15 15:06 [Powertop] [PATCH] fix typo and correct coding styles in report_formatter Sergey Senozhatsky
2012-10-15 14:19 Arjan van de Ven
2012-10-15 14:02 Paul Menzel
2012-10-15  9:25 Sergey Senozhatsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=507C3889.6030108@linux.intel.com \
    --to=powertop@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.