From: kernel test robot <lkp@intel.com>
To: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Cc: oe-kbuild-all@lists.linux.dev, linux-gpio@vger.kernel.org,
Linus Walleij <linus.walleij@linaro.org>
Subject: [brgl:gpio/for-next 3/11] drivers/gpio/gpiolib-shared.c:62:1: warning: 'gpio_shared_find_entry' defined but not used
Date: Tue, 18 Nov 2025 02:18:33 +0800 [thread overview]
Message-ID: <202511180232.EItKeYjY-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git gpio/for-next
head: 67f9b828d4e5e47caf3472a399c25c3c0ddc824a
commit: a060b8c511abb0997381b397e52149a5e3e5259a [3/11] gpiolib: implement low-level, shared GPIO support
config: s390-randconfig-r073-20251117 (https://download.01.org/0day-ci/archive/20251118/202511180232.EItKeYjY-lkp@intel.com/config)
compiler: s390-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251118/202511180232.EItKeYjY-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202511180232.EItKeYjY-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/gpio/gpiolib-shared.c:62:1: warning: 'gpio_shared_find_entry' defined but not used [-Wunused-function]
gpio_shared_find_entry(struct fwnode_handle *controller_node,
^~~~~~~~~~~~~~~~~~~~~~
vim +/gpio_shared_find_entry +62 drivers/gpio/gpiolib-shared.c
60
61 static struct gpio_shared_entry *
> 62 gpio_shared_find_entry(struct fwnode_handle *controller_node,
63 unsigned int offset)
64 {
65 struct gpio_shared_entry *entry;
66
67 list_for_each_entry(entry, &gpio_shared_list, list) {
68 if (entry->fwnode == controller_node && entry->offset == offset)
69 return entry;
70 }
71
72 return NULL;
73 }
74
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2025-11-17 18:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202511180232.EItKeYjY-lkp@intel.com \
--to=lkp@intel.com \
--cc=bartosz.golaszewski@linaro.org \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
/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;
as well as URLs for NNTP newsgroup(s).