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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190515191207.GC23162@kernel.org>
Date:   Wed, 15 May 2019 16:12:07 -0300
From:   Arnaldo Carvalho de Melo <arnaldo.melo@...il.com>
To:     Zenghui Yu <yuzenghui@...wei.com>
Cc:     acme@...hat.com, peterz@...radead.org, mingo@...hat.com,
        alexander.shishkin@...ux.intel.com, jolsa@...hat.com,
        namhyung@...nel.org, john.garry@...wei.com,
        wanghaibin.wang@...wei.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] perf jevents: Remove unused variables

Em Wed, May 15, 2019 at 11:19:29AM +0000, Zenghui Yu escreveu:
> Fix gcc warning:

s/Fix/Address/g

Thanks, applied.

- Arnaldo
 
> pmu-events/jevents.c: In function ‘save_arch_std_events’:
> pmu-events/jevents.c:417:15: warning: unused variable ‘sb’ [-Wunused-variable]
>   struct stat *sb = data;
>                ^~
> 
> Signed-off-by: Zenghui Yu <yuzenghui@...wei.com>
> ---
>  tools/perf/pmu-events/jevents.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/tools/perf/pmu-events/jevents.c b/tools/perf/pmu-events/jevents.c
> index 68c92bb..92e60fd 100644
> --- a/tools/perf/pmu-events/jevents.c
> +++ b/tools/perf/pmu-events/jevents.c
> @@ -414,7 +414,6 @@ static int save_arch_std_events(void *data, char *name, char *event,
>  				char *metric_name, char *metric_group)
>  {
>  	struct event_struct *es;
> -	struct stat *sb = data;
>  
>  	es = malloc(sizeof(*es));
>  	if (!es)
> -- 
> 1.8.3.1
> 

-- 

- Arnaldo

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ