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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Fri, 8 Oct 2021 15:16:22 -0300
From:   Arnaldo Carvalho de Melo <acme@...nel.org>
To:     Guo Zhengkui <guozhengkui@...o.com>
Cc:     Peter Zijlstra <peterz@...radead.org>,
        Ingo Molnar <mingo@...hat.com>,
        Mark Rutland <mark.rutland@....com>,
        Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
        Jiri Olsa <jolsa@...hat.com>,
        Namhyung Kim <namhyung@...nel.org>,
        "open list:PERFORMANCE EVENTS SUBSYSTEM" 
        <linux-perf-users@...r.kernel.org>,
        "open list:PERFORMANCE EVENTS SUBSYSTEM" 
        <linux-kernel@...r.kernel.org>, kernel@...o.com
Subject: Re: [PATCH] perf daemon: Remove a duplicate #include

Em Wed, Oct 06, 2021 at 02:22:34PM +0800, Guo Zhengkui escreveu:
> There is a "#include <sys/file.h>" in line 10, so remove a duplicate
> one in line 1124.

Thanks, applied.

- Arnaldo

 
> Signed-off-by: Guo Zhengkui <guozhengkui@...o.com>
> ---
>  tools/perf/builtin-daemon.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/tools/perf/builtin-daemon.c b/tools/perf/builtin-daemon.c
> index c13201fb09c3..6cb3f6cc36d0 100644
> --- a/tools/perf/builtin-daemon.c
> +++ b/tools/perf/builtin-daemon.c
> @@ -1121,8 +1121,6 @@ static int setup_config(struct daemon *daemon)
>  #ifndef F_TLOCK
>  #define F_TLOCK 2
>  
> -#include <sys/file.h>
> -
>  static int lockf(int fd, int cmd, off_t len)
>  {
>  	if (cmd != F_TLOCK || len != 0)
> -- 
> 2.20.1

-- 

- Arnaldo

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ