[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZJ9jPpdRq3My4bKM@bombadil.infradead.org>
Date: Fri, 30 Jun 2023 16:20:30 -0700
From: Luis Chamberlain <mcgrof@...nel.org>
To: Kees Cook <keescook@...omium.org>
Cc: Tom Rix <trix@...hat.com>, yzaikin@...gle.com,
linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org
Subject: Re: [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@...hat.com>
>
> Reviewed-by: Kees Cook <keescook@...omium.org>
Queued up, thanks!
Luis
Powered by blists - more mailing lists