lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190306125037.GA30734@kernel.org>
Date:   Wed, 6 Mar 2019 09:50:37 -0300
From:   Arnaldo Carvalho de Melo <arnaldo.melo@...il.com>
To:     Yang Wei <albin_yang@....com>
Cc:     linux-kernel@...r.kernel.org, peterz@...radead.org,
        mingo@...hat.com, alexander.shishkin@...ux.intel.com,
        jolsa@...hat.com, namhyung@...nel.org, yang.wei9@....com.cn
Subject: Re: [PATCH] perf clang: fix semicolon code style issue

Em Mon, Mar 04, 2019 at 10:36:14PM +0800, Yang Wei escreveu:
> From: Yang Wei <yang.wei9@....com.cn>
> 
> Delete a superfluous semicolon in getBPFObjectFromModule().
> 
> Signed-off-by: Yang Wei <yang.wei9@....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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ