lkml.org 
[lkml]   [2023]   [Jun]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] sysctl: set variable sysctl_mount_point storage-class-specifier to static
On Tue, Jun 13, 2023 at 01:30:47PM -0700, Kees Cook wrote:
> On Sun, Jun 11, 2023 at 08:07:25AM -0400, Tom Rix wrote:
> > smatch reports
> > fs/proc/proc_sysctl.c:32:18: warning: symbol
> > 'sysctl_mount_point' was not declared. Should it be static?
> >
> > This variable is only used in its defining file, so it should be static.
> >
> > Signed-off-by: Tom Rix <trix@redhat.com>
>
> Reviewed-by: Kees Cook <keescook@chromium.org>

Queued up, thanks!

Luis

\
 
 \ /
  Last update: 2023-07-01 01:23    [W:4.713 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site