All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] perf clang: fix semicolon code style issue
@ 2019-03-04 14:36 Yang Wei
  2019-03-06 12:50 ` Arnaldo Carvalho de Melo
  2019-03-09 19:58 ` [tip:perf/urgent] perf clang: Remove needless extra semicolon tip-bot for Yang Wei
  0 siblings, 2 replies; 3+ messages in thread
From: Yang Wei @ 2019-03-04 14:36 UTC (permalink / raw)
  To: linux-kernel
  Cc: peterz, mingo, acme, alexander.shishkin, jolsa, namhyung,
	yang.wei9, albin_yang

From: Yang Wei <yang.wei9@zte.com.cn>

Delete a superfluous semicolon in getBPFObjectFromModule().

Signed-off-by: Yang Wei <yang.wei9@zte.com.cn>
---
 tools/perf/util/c++/clang.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/util/c++/clang.cpp b/tools/perf/util/c++/clang.cpp
index 39c0004..fc361c3 100644
--- a/tools/perf/util/c++/clang.cpp
+++ b/tools/perf/util/c++/clang.cpp
@@ -156,7 +156,7 @@ getBPFObjectFromModule(llvm::Module *Module)
 #endif
 	if (NotAdded) {
 		llvm::errs() << "TargetMachine can't emit a file of this type\n";
-		return std::unique_ptr<llvm::SmallVectorImpl<char>>(nullptr);;
+		return std::unique_ptr<llvm::SmallVectorImpl<char>>(nullptr);
 	}
 	PM.run(*Module);
 
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] perf clang: fix semicolon code style issue
  2019-03-04 14:36 [PATCH] perf clang: fix semicolon code style issue Yang Wei
@ 2019-03-06 12:50 ` Arnaldo Carvalho de Melo
  2019-03-09 19:58 ` [tip:perf/urgent] perf clang: Remove needless extra semicolon tip-bot for Yang Wei
  1 sibling, 0 replies; 3+ messages in thread
From: Arnaldo Carvalho de Melo @ 2019-03-06 12:50 UTC (permalink / raw)
  To: Yang Wei
  Cc: linux-kernel, peterz, mingo, alexander.shishkin, jolsa, namhyung,
	yang.wei9

Em Mon, Mar 04, 2019 at 10:36:14PM +0800, Yang Wei escreveu:
> From: Yang Wei <yang.wei9@zte.com.cn>
> 
> Delete a superfluous semicolon in getBPFObjectFromModule().
> 
> Signed-off-by: Yang Wei <yang.wei9@zte.com.cn>
> ---
>  tools/perf/util/c++/clang.cpp | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/perf/util/c++/clang.cpp b/tools/perf/util/c++/clang.cpp
> index 39c0004..fc361c3 100644
> --- a/tools/perf/util/c++/clang.cpp
> +++ b/tools/perf/util/c++/clang.cpp
> @@ -156,7 +156,7 @@ getBPFObjectFromModule(llvm::Module *Module)
>  #endif
>  	if (NotAdded) {
>  		llvm::errs() << "TargetMachine can't emit a file of this type\n";
> -		return std::unique_ptr<llvm::SmallVectorImpl<char>>(nullptr);;
> +		return std::unique_ptr<llvm::SmallVectorImpl<char>>(nullptr);
>  	}
>  	PM.run(*Module);

Thanks, applied.

- Arnaldo

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [tip:perf/urgent] perf clang: Remove needless extra semicolon
  2019-03-04 14:36 [PATCH] perf clang: fix semicolon code style issue Yang Wei
  2019-03-06 12:50 ` Arnaldo Carvalho de Melo
@ 2019-03-09 19:58 ` tip-bot for Yang Wei
  1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for Yang Wei @ 2019-03-09 19:58 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: yang.wei9, namhyung, hpa, tglx, peterz, jolsa, acme, albin_yang,
	linux-kernel, alexander.shishkin, mingo

Commit-ID:  a53837a5458c5b84588dfa3fa510c6a29b7bd4d7
Gitweb:     https://git.kernel.org/tip/a53837a5458c5b84588dfa3fa510c6a29b7bd4d7
Author:     Yang Wei <yang.wei9@zte.com.cn>
AuthorDate: Mon, 4 Mar 2019 22:36:14 +0800
Committer:  Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Wed, 6 Mar 2019 09:47:48 -0300

perf clang: Remove needless extra semicolon

Delete a superfluous semicolon in getBPFObjectFromModule().

Signed-off-by: Yang Wei <yang.wei9@zte.com.cn>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Yang Wei <albin_yang@163.com>
Link: http://lkml.kernel.org/r/1551710174-3349-1-git-send-email-albin_yang@163.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 tools/perf/util/c++/clang.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/util/c++/clang.cpp b/tools/perf/util/c++/clang.cpp
index 39c0004f2886..fc361c3f8570 100644
--- a/tools/perf/util/c++/clang.cpp
+++ b/tools/perf/util/c++/clang.cpp
@@ -156,7 +156,7 @@ getBPFObjectFromModule(llvm::Module *Module)
 #endif
 	if (NotAdded) {
 		llvm::errs() << "TargetMachine can't emit a file of this type\n";
-		return std::unique_ptr<llvm::SmallVectorImpl<char>>(nullptr);;
+		return std::unique_ptr<llvm::SmallVectorImpl<char>>(nullptr);
 	}
 	PM.run(*Module);
 

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-03-09 19:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-04 14:36 [PATCH] perf clang: fix semicolon code style issue Yang Wei
2019-03-06 12:50 ` Arnaldo Carvalho de Melo
2019-03-09 19:58 ` [tip:perf/urgent] perf clang: Remove needless extra semicolon tip-bot for Yang Wei

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.