All of lore.kernel.org
 help / color / mirror / Atom feed
From: Georgi Djakov <djakov@kernel.org>
To: Johan Hovold <johan@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev, Gabor Juhos <j4g8y7@gmail.com>,
	kernel test robot <lkp@intel.com>
Subject: Re: [djakov-icc:icc-fixes 5/5] include/linux/interconnect-provider.h:156:12: warning: 'icc_node_set_name' defined but not used
Date: Fri, 27 Jun 2025 21:34:25 +0300	[thread overview]
Message-ID: <ebb0d6fc-e0eb-4ba9-ba0e-125be9e4b0ff@kernel.org> (raw)
In-Reply-To: <aF7h4v3powZzxQbL@hovoldconsulting.com>

On 27.06.25 21:24, Johan Hovold wrote:
> On Sat, Jun 28, 2025 at 01:56:21AM +0800, kernel test robot wrote:
>> 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)
> 
> Bah, I forgot the inline keyword.
> 
> Georgi, can you fix up this commit in your branch, or do you want me to
> send an incremental fix for this?

I'll fix it! Big thanks to you guys for working on this patch!

BR,
Georgi

      reply	other threads:[~2025-06-27 18:34 UTC|newest]

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

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=ebb0d6fc-e0eb-4ba9-ba0e-125be9e4b0ff@kernel.org \
    --to=djakov@kernel.org \
    --cc=j4g8y7@gmail.com \
    --cc=johan@kernel.org \
    --cc=lkp@intel.com \
    --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.