Content-Type: multipart/mixed; boundary="===============1129660562476905964==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH] tracing/trace: trace_ull_config_write can be static Date: Sat, 24 Apr 2021 07:41:12 +0800 Message-ID: <20210423234112.GA62626@113ecb81d7e6> In-Reply-To: List-Id: --===============1129660562476905964== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Reported-by: kernel test robot Signed-off-by: kernel test robot --- trace.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index 69419df6cc699..73c8df5227b50 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -7297,7 +7297,7 @@ static const struct file_operations snapshot_raw_fops= =3D { * trace_ull_config structure that defines where to write the value, the * min and the max acceptable values, and a lock to protect the write. */ -ssize_t +static ssize_t trace_ull_config_write(struct file *filp, const char __user *ubuf, size_t = cnt, loff_t *ppos) { @@ -7344,7 +7344,7 @@ trace_ull_config_write(struct file *filp, const char = __user *ubuf, size_t cnt, * from a file on tracefs. The filp->private_data must point to a * trace_ull_config structure with valid data. */ -ssize_t +static ssize_t trace_ull_config_read(struct file *filp, char __user *ubuf, size_t cnt, loff_t *ppos) { --===============1129660562476905964==--