All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: [akpm-mm:mm-unstable 225/232] include/linux/alloc_tag.h:159:24: sparse: sparse: duplicate inline
Date: Fri, 06 Nov 2026 22:27:59 +0100	[thread overview]
Message-ID: <202611062257.ftU96AH4-lkp@intel.com> (raw)

:::::: 
:::::: Manual check reason: "low confidence static check warning: include/linux/alloc_tag.h:159:24: sparse: sparse: duplicate inline"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: David Hildenbrand <david@kernel.org>
CC: Andrew Morton <akpm@linux-foundation.org>
CC: Linux Memory Management List <linux-mm@kvack.org>
CC: mm-commits@vger.kernel.org
TO: Andrew Morton <akpm@linux-foundation.org>
CC: Linux Memory Management List <linux-mm@kvack.org>
CC: Abhishek Bapat <abhishekbapat@google.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-unstable
head:   a3d27154a205f6b32000e7e2734b2a6a4d22c65b
commit: cb335644ac2611749ab17d3eb6f29c8f77450fa6 [225/232] alloc_tag-introduce-ioctls-to-toggle-allocation-tracepoints-fix-fix
:::::: branch date: 3 hours ago
:::::: commit date: 3 hours ago
config: arc-randconfig-r2306-20261106 (https://download.01.org/0day-ci/archive/20261106/202611062257.ftU96AH4-lkp@intel.com/config)
compiler: arc-linux-gcc (GCC) 13.5.0
sparse: v0.6.5-rc1-21-g84ec0658
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261106/202611062257.ftU96AH4-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/r/202611062257.ftU96AH4-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
   drivers/char/tpm/tpm-buf.c: note: in included file (through include/linux/percpu.h, include/linux/radix-tree.h, include/linux/idr.h, include/linux/kernfs.h, ...):
>> include/linux/alloc_tag.h:159:24: sparse: sparse: duplicate inline
   drivers/char/tpm/tpm-buf.c:256:16: sparse: sparse: cast to restricted __be16
   drivers/char/tpm/tpm-buf.c:256:16: sparse: sparse: cast to restricted __be16
   drivers/char/tpm/tpm-buf.c:256:16: sparse: sparse: cast to restricted __be16
   drivers/char/tpm/tpm-buf.c:256:16: sparse: sparse: cast to restricted __be16
   drivers/char/tpm/tpm-buf.c:273:16: sparse: sparse: cast to restricted __be32
   drivers/char/tpm/tpm-buf.c:273:16: sparse: sparse: cast to restricted __be32
   drivers/char/tpm/tpm-buf.c:273:16: sparse: sparse: cast to restricted __be32
   drivers/char/tpm/tpm-buf.c:273:16: sparse: sparse: cast to restricted __be32
   drivers/char/tpm/tpm-buf.c:273:16: sparse: sparse: cast to restricted __be32
   drivers/char/tpm/tpm-buf.c:273:16: sparse: sparse: cast to restricted __be32
--
   drivers/char/tpm/tpmrm-dev.c: note: in included file (through include/linux/workqueue.h, include/linux/mm_types.h, include/linux/mmzone.h, include/linux/gfp.h, ...):
>> include/linux/alloc_tag.h:159:24: sparse: sparse: duplicate inline
--
   drivers/char/tpm/tpm2-sessions.c: note: in included file (through include/linux/percpu.h, include/linux/radix-tree.h, include/linux/idr.h, include/linux/kernfs.h, ...):
>> include/linux/alloc_tag.h:159:24: sparse: sparse: duplicate inline
--
   drivers/char/tpm/tpm-dev.c: note: in included file (through include/linux/workqueue.h, include/linux/mm_types.h, include/linux/mmzone.h, include/linux/gfp.h, ...):
>> include/linux/alloc_tag.h:159:24: sparse: sparse: duplicate inline
--
   drivers/char/tpm/eventlog/of.c: note: in included file (through include/linux/percpu.h, include/linux/radix-tree.h, include/linux/idr.h, include/linux/kernfs.h, ...):
>> include/linux/alloc_tag.h:159:24: sparse: sparse: duplicate inline
--
   drivers/char/tpm/eventlog/tpm2.c: note: in included file (through include/linux/workqueue.h, include/linux/mm_types.h, include/linux/mmzone.h, include/linux/gfp.h, ...):
>> include/linux/alloc_tag.h:159:24: sparse: sparse: duplicate inline
--
   drivers/char/tpm/eventlog/common.c: note: in included file (through include/linux/workqueue.h, include/linux/mm_types.h, include/linux/mmzone.h, include/linux/gfp.h, ...):
>> include/linux/alloc_tag.h:159:24: sparse: sparse: duplicate inline
--
   drivers/char/tpm/tpm-chip.c: note: in included file (through include/linux/workqueue.h, include/linux/mm_types.h, include/linux/mmzone.h, include/linux/gfp.h, ...):
>> include/linux/alloc_tag.h:159:24: sparse: sparse: duplicate inline
--
   drivers/char/tpm/tpm_i2c_nuvoton.c: note: in included file (through include/linux/percpu.h, include/linux/radix-tree.h, include/linux/idr.h, include/linux/kernfs.h, ...):
>> include/linux/alloc_tag.h:159:24: sparse: sparse: duplicate inline
--
   drivers/char/tpm/tpm-interface.c: note: in included file (through include/linux/workqueue.h, include/linux/mm_types.h, include/linux/mmzone.h, include/linux/gfp.h, ...):
>> include/linux/alloc_tag.h:159:24: sparse: sparse: duplicate inline
--
   drivers/char/tpm/tpm_tis_i2c.c: note: in included file (through include/linux/workqueue.h, include/linux/mm_types.h, include/linux/mmzone.h, include/linux/gfp.h, ...):
>> include/linux/alloc_tag.h:159:24: sparse: sparse: duplicate inline
--
   drivers/char/tpm/tpm-sysfs.c: note: in included file (through include/linux/percpu.h, include/linux/radix-tree.h, include/linux/idr.h, include/linux/kernfs.h, ...):
>> include/linux/alloc_tag.h:159:24: sparse: sparse: duplicate inline
--
   drivers/char/tpm/tpm2-space.c: note: in included file (through include/linux/workqueue.h, include/linux/mm_types.h, include/linux/mmzone.h, include/linux/gfp.h):
>> include/linux/alloc_tag.h:159:24: sparse: sparse: duplicate inline
--
   drivers/char/tpm/tpm-dev-common.c: note: in included file (through include/linux/workqueue.h, include/linux/mm_types.h, include/linux/mmzone.h, include/linux/gfp.h, ...):
>> include/linux/alloc_tag.h:159:24: sparse: sparse: duplicate inline
--
   drivers/char/tpm/tpm1-cmd.c: note: in included file (through include/linux/workqueue.h, include/linux/mm_types.h, include/linux/mmzone.h, include/linux/gfp.h, ...):
>> include/linux/alloc_tag.h:159:24: sparse: sparse: duplicate inline
--
   drivers/char/tpm/eventlog/tpm1.c: note: in included file (through include/linux/workqueue.h, include/linux/mm_types.h, include/linux/mmzone.h, include/linux/gfp.h, ...):
>> include/linux/alloc_tag.h:159:24: sparse: sparse: duplicate inline
--
   drivers/char/tpm/tpm2-cmd.c: note: in included file (through include/linux/workqueue.h, include/linux/mm_types.h, include/linux/mmzone.h, include/linux/gfp.h, ...):
>> include/linux/alloc_tag.h:159:24: sparse: sparse: duplicate inline
--
   drivers/char/tpm/tpm_tis_core.c: note: in included file (through include/linux/percpu.h, include/linux/radix-tree.h, include/linux/idr.h, include/linux/kernfs.h, ...):
>> include/linux/alloc_tag.h:159:24: sparse: sparse: duplicate inline
--
   drivers/char/tpm/st33zp24/i2c.c: note: in included file (through include/linux/percpu.h, include/linux/radix-tree.h, include/linux/idr.h, include/linux/kernfs.h, ...):
>> include/linux/alloc_tag.h:159:24: sparse: sparse: duplicate inline
--
   drivers/char/tpm/st33zp24/st33zp24.c: note: in included file (through include/linux/workqueue.h, include/linux/mm_types.h, include/linux/mmzone.h, include/linux/gfp.h, ...):
>> include/linux/alloc_tag.h:159:24: sparse: sparse: duplicate inline

vim +159 include/linux/alloc_tag.h

de2b74665eaae2 Abhishek Bapat 2026-11-04  158  
cb335644ac2611 Andrew Morton  2026-11-06 @159  static __always_inline inline bool alloc_tag_is_traced(const struct alloc_tag *tag)
6d1be081119059 Abhishek Bapat 2026-11-04  160  {
de2b74665eaae2 Abhishek Bapat 2026-11-04  161  	return !!(atomic_read(&tag->ct.flags) & CODETAG_FLAG_TRACE_ON);
de2b74665eaae2 Abhishek Bapat 2026-11-04  162  }
de2b74665eaae2 Abhishek Bapat 2026-11-04  163  

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

                 reply	other threads:[~2026-11-06 21:28 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=202611062257.ftU96AH4-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild@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.