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] [day] [month] [year] [list]
Date:   Wed, 16 Nov 2022 21:53:26 -0500
From:   Steven Rostedt <rostedt@...dmis.org>
To:     Aashish Sharma <shraash@...gle.com>
Cc:     Masami Hiramatsu <mhiramat@...nel.org>,
        "Martin K. Petersen" <martin.petersen@...cle.com>,
        Arun Easi <aeasi@...vell.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] tracing: Fix warning on variable 'struct trace_array'

On Mon,  7 Nov 2022 21:35:56 +0530
Aashish Sharma <shraash@...gle.com> wrote:

> Move the declaration of 'struct trace_array' out of #ifdef
> CONFIG_TRACING block, to fix the following warning when CONFIG_TRACING
> is not set:
> 
> >> include/linux/trace.h:63:45: warning: 'struct trace_array' declared  
> inside parameter list will not be visible outside of this definition or
> declaration
> 
> Fixes: 1a77dd1c2bb5 ("scsi: tracing: Fix compile error in trace_array calls when TRACING is disabled")
> Cc: Arun Easi <aeasi@...vell.com>
> Signed-off-by: Aashish Sharma <shraash@...gle.com>
>

Queued. Thanks Aashish!

-- Steve

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ