All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Johan Hovold <johan@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev, Georgi Djakov <djakov@kernel.org>,
	Gabor Juhos <j4g8y7@gmail.com>
Subject: [djakov-icc:icc-fixes 5/5] include/linux/interconnect-provider.h:156:12: warning: 'icc_node_set_name' defined but not used
Date: Sat, 28 Jun 2025 01:56:21 +0800	[thread overview]
Message-ID: <202506280134.bxPIYES0-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/djakov/icc.git icc-fixes
head:   65fceba30d6f1e7849048d0b292d3541695403f3
commit: 65fceba30d6f1e7849048d0b292d3541695403f3 [5/5] interconnect: avoid memory allocation when 'icc_bw_lock' is held
config: i386-buildonly-randconfig-001-20250627 (https://download.01.org/0day-ci/archive/20250628/202506280134.bxPIYES0-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14+deb12u1) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250628/202506280134.bxPIYES0-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/202506280134.bxPIYES0-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from include/soc/tegra/mc.h:12,
                    from drivers/iommu/arm/arm-smmu/arm-smmu-nvidia.c:10:
>> include/linux/interconnect-provider.h:156:12: warning: 'icc_node_set_name' defined but not used [-Wunused-function]
     156 | static int icc_node_set_name(struct icc_node *node, const struct icc_provider *provider, const char *name)
         |            ^~~~~~~~~~~~~~~~~


vim +/icc_node_set_name +156 include/linux/interconnect-provider.h

   155	
 > 156	static int icc_node_set_name(struct icc_node *node, const struct icc_provider *provider, const char *name)
   157	{
   158		return -EOPNOTSUPP;
   159	}
   160	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

             reply	other threads:[~2025-06-27 17:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-27 17:56 kernel test robot [this message]
2025-06-27 18:24 ` [djakov-icc:icc-fixes 5/5] include/linux/interconnect-provider.h:156:12: warning: 'icc_node_set_name' defined but not used Johan Hovold
2025-06-27 18:34   ` Georgi Djakov

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=202506280134.bxPIYES0-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=djakov@kernel.org \
    --cc=j4g8y7@gmail.com \
    --cc=johan@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 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.