From: kernel test robot <lkp@intel.com>
To: Andrea Tomassetti <andrea.tomassetti@devo.com>,
linux-bcache@vger.kernel.org
Cc: kbuild-all@lists.01.org, Coly Li <colyli@suse.de>,
Kent Overstreet <kmo@daterainc.com>,
Zhang Zhen <zhangzhen.email@gmail.com>,
Andrea Tomassetti <andrea.tomassetti@devo.com>
Subject: [RFC PATCH] bcache: bch_service_ioctl_ctrl() can be static
Date: Thu, 10 Mar 2022 20:07:08 +0800 [thread overview]
Message-ID: <20220310120708.GA86940@32b0ac190af4> (raw)
In-Reply-To: <20220310085240.334068-1-andrea.tomassetti@devo.com>
drivers/md/bcache/control.c:18:6: warning: symbol 'bch_service_ioctl_ctrl' was not declared. Should it be static?
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---
drivers/md/bcache/control.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/md/bcache/control.c b/drivers/md/bcache/control.c
index dad432613474b..69b5e554d0935 100644
--- a/drivers/md/bcache/control.c
+++ b/drivers/md/bcache/control.c
@@ -15,7 +15,7 @@ static struct bch_ctrl_device _control_device;
/* this handles IOCTL for /dev/bcache_ctrl */
/*********************************************/
-long bch_service_ioctl_ctrl(struct file *filp, unsigned int cmd,
+static long bch_service_ioctl_ctrl(struct file *filp, unsigned int cmd,
unsigned long arg)
{
int retval = 0;
next prev parent reply other threads:[~2022-03-10 12:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-10 8:52 [PATCH] bcache: Use bcache without formatting existing device Andrea Tomassetti
2022-03-10 10:58 ` kernel test robot
2022-03-10 11:18 ` kernel test robot
2022-03-10 12:07 ` kernel test robot [this message]
2022-03-10 12:09 ` kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220310120708.GA86940@32b0ac190af4 \
--to=lkp@intel.com \
--cc=andrea.tomassetti@devo.com \
--cc=colyli@suse.de \
--cc=kbuild-all@lists.01.org \
--cc=kmo@daterainc.com \
--cc=linux-bcache@vger.kernel.org \
--cc=zhangzhen.email@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox