From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [RFC PATCH] gpio: sim: gpio_sim_config_hog_item_ops can be static
Date: Sat, 27 Nov 2021 02:54:48 +0800 [thread overview]
Message-ID: <20211126185448.GA35345@1d518150f0b3> (raw)
In-Reply-To: <20211124114257.19878-3-brgl@bgdev.pl>
[-- Attachment #1: Type: text/plain, Size: 802 bytes --]
drivers/gpio/gpio-sim.c:1155:33: warning: symbol 'gpio_sim_config_hog_item_ops' was not declared. Should it be static?
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---
gpio-sim.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpio/gpio-sim.c b/drivers/gpio/gpio-sim.c
index d4ddbb4a4e3b64..2aab40f9b8e1f7 100644
--- a/drivers/gpio/gpio-sim.c
+++ b/drivers/gpio/gpio-sim.c
@@ -1152,7 +1152,7 @@ static void gpio_sim_config_hog_item_release(struct config_item *item)
mutex_unlock(&ctx->parent->lock);
}
-struct configfs_item_operations gpio_sim_config_hog_item_ops = {
+static struct configfs_item_operations gpio_sim_config_hog_item_ops = {
.release = gpio_sim_config_hog_item_release,
};
next prev parent reply other threads:[~2021-11-26 18:54 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-24 11:42 [PATCH v10 0/5] gpio-sim: configfs-based GPIO simulator Bartosz Golaszewski
2021-11-24 11:42 ` [PATCH v10 1/5] gpiolib: provide gpiod_remove_hogs() Bartosz Golaszewski
2021-11-24 11:42 ` [PATCH v10 2/5] gpio: sim: new testing module Bartosz Golaszewski
2021-11-24 20:29 ` kernel test robot
2021-11-24 20:29 ` kernel test robot
2021-11-25 13:14 ` Bartosz Golaszewski
2021-11-26 2:23 ` Kent Gibson
2021-11-26 10:26 ` Bartosz Golaszewski
2021-11-26 18:54 ` kernel test robot [this message]
2021-11-26 19:02 ` kernel test robot
2021-11-24 11:42 ` [PATCH v10 3/5] selftests: gpio: provide a helper for reading chip info Bartosz Golaszewski
2021-11-24 11:42 ` [PATCH v10 4/5] selftests: gpio: add a helper for reading GPIO line names Bartosz Golaszewski
2021-11-24 11:42 ` [PATCH v10 5/5] selftests: gpio: add test cases for gpio-sim Bartosz Golaszewski
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=20211126185448.GA35345@1d518150f0b3 \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.