From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============3616640369911549870==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH] fs/proc: proc_memctl_operations can be static Date: Tue, 18 Aug 2020 04:10:48 +0800 Message-ID: <20200817201048.GA56103@3742c8483151> In-Reply-To: <20200817140831.30260-5-longman@redhat.com> List-Id: --===============3616640369911549870== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Signed-off-by: kernel test robot --- base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/proc/base.c b/fs/proc/base.c index 28a1afeb67a9c..463a92cf8a95d 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c @@ -3241,7 +3241,7 @@ static ssize_t proc_memctl_write(struct file *file, c= onst char __user *buf, return err < 0 ? err : count; } = -const struct file_operations proc_memctl_operations =3D { +static const struct file_operations proc_memctl_operations =3D { .read =3D proc_memctl_read, .write =3D proc_memctl_write, .llseek =3D generic_file_llseek, --===============3616640369911549870==--