mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Quan Zhou <zhouquan@iscas.ac.cn>
Cc: <oe-kbuild-all@lists.linux.dev>, <linux-kernel@vger.kernel.org>,
	"Anup Patel" <anup@brainfault.org>,
	Dong Yang <dayss1224@gmail.com>,
	Andrew Jones <ajones@ventanamicro.com>
Subject: ../rseq/rseq-riscv-bits.h:8:15: warning: duplicate 'inline' declaration specifier
Date: Sun, 26 Oct 2025 13:47:52 +0800	[thread overview]
Message-ID: <aP22CJcg9UUdNVjj@rli9-mobl> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   72761a7e31225971d0b29d9195e0ffa986b77867
commit: dbe3d1d1609e171bd26de077abba6ae142de86af KVM: riscv: selftests: Add common supported test cases
date:   6 weeks ago
:::::: branch date: 5 hours ago
:::::: commit date: 6 weeks ago
config: riscv-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20251026/202510260727.DNCWXWNO-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251026/202510260727.DNCWXWNO-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/202510260727.DNCWXWNO-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from rseq_test.c:8:
   In file included from ./../rseq/rseq.c:37:
   In file included from ./../rseq/rseq.h:131:
   In file included from ../rseq/rseq-riscv.h:171:
>> ../rseq/rseq-riscv-bits.h:8:15: warning: duplicate 'inline' declaration specifier [-Wduplicate-decl-specifier]
       8 | static inline __always_inline
         |               ^
   /usr/include/riscv64-linux-gnu/sys/cdefs.h:595:26: note: expanded from macro '__always_inline'
     595 | # define __always_inline __inline __attribute__ ((__always_inline__))
         |                          ^
   In file included from rseq_test.c:8:
   In file included from ./../rseq/rseq.c:37:
   In file included from ./../rseq/rseq.h:131:
   In file included from ../rseq/rseq-riscv.h:171:
   ../rseq/rseq-riscv-bits.h:61:15: warning: duplicate 'inline' declaration specifier [-Wduplicate-decl-specifier]
      61 | static inline __always_inline
         |               ^
   /usr/include/riscv64-linux-gnu/sys/cdefs.h:595:26: note: expanded from macro '__always_inline'
     595 | # define __always_inline __inline __attribute__ ((__always_inline__))
         |                          ^
   In file included from rseq_test.c:8:
   In file included from ./../rseq/rseq.c:37:
   In file included from ./../rseq/rseq.h:131:
   In file included from ../rseq/rseq-riscv.h:171:
   ../rseq/rseq-riscv-bits.h:118:15: warning: duplicate 'inline' declaration specifier [-Wduplicate-decl-specifier]
     118 | static inline __always_inline
         |               ^
   /usr/include/riscv64-linux-gnu/sys/cdefs.h:595:26: note: expanded from macro '__always_inline'
     595 | # define __always_inline __inline __attribute__ ((__always_inline__))
         |                          ^
   In file included from rseq_test.c:8:
   In file included from ./../rseq/rseq.c:37:
   In file included from ./../rseq/rseq.h:131:
   In file included from ../rseq/rseq-riscv.h:171:
   ../rseq/rseq-riscv-bits.h:162:15: warning: duplicate 'inline' declaration specifier [-Wduplicate-decl-specifier]
     162 | static inline __always_inline
         |               ^
   /usr/include/riscv64-linux-gnu/sys/cdefs.h:595:26: note: expanded from macro '__always_inline'
     595 | # define __always_inline __inline __attribute__ ((__always_inline__))
         |                          ^
   In file included from rseq_test.c:8:
   In file included from ./../rseq/rseq.c:37:
   In file included from ./../rseq/rseq.h:131:
   In file included from ../rseq/rseq-riscv.h:171:
   ../rseq/rseq-riscv-bits.h:231:15: warning: duplicate 'inline' declaration specifier [-Wduplicate-decl-specifier]
     231 | static inline __always_inline
         |               ^
   /usr/include/riscv64-linux-gnu/sys/cdefs.h:595:26: note: expanded from macro '__always_inline'
     595 | # define __always_inline __inline __attribute__ ((__always_inline__))
         |                          ^
   In file included from rseq_test.c:8:
   In file included from ./../rseq/rseq.c:37:
   In file included from ./../rseq/rseq.h:131:
   In file included from ../rseq/rseq-riscv.h:171:
   ../rseq/rseq-riscv-bits.h:280:15: warning: duplicate 'inline' declaration specifier [-Wduplicate-decl-specifier]
     280 | static inline __always_inline
         |               ^
   /usr/include/riscv64-linux-gnu/sys/cdefs.h:595:26: note: expanded from macro '__always_inline'
     595 | # define __always_inline __inline __attribute__ ((__always_inline__))
         |                          ^
   In file included from rseq_test.c:8:
   In file included from ./../rseq/rseq.c:37:
   In file included from ./../rseq/rseq.h:131:
   In file included from ../rseq/rseq-riscv.h:171:
   ../rseq/rseq-riscv-bits.h:343:15: warning: duplicate 'inline' declaration specifier [-Wduplicate-decl-specifier]
     343 | static inline __always_inline
         |               ^
   /usr/include/riscv64-linux-gnu/sys/cdefs.h:595:26: note: expanded from macro '__always_inline'
     595 | # define __always_inline __inline __attribute__ ((__always_inline__))
         |                          ^
   In file included from rseq_test.c:8:
   In file included from ./../rseq/rseq.c:37:
   In file included from ./../rseq/rseq.h:131:
   In file included from ../rseq/rseq-riscv.h:175:
   ../rseq/rseq-riscv-bits.h:280:15: warning: duplicate 'inline' declaration specifier [-Wduplicate-decl-specifier]
     280 | static inline __always_inline
         |               ^
   /usr/include/riscv64-linux-gnu/sys/cdefs.h:595:26: note: expanded from macro '__always_inline'
     595 | # define __always_inline __inline __attribute__ ((__always_inline__))
         |                          ^
   In file included from rseq_test.c:8:
   In file included from ./../rseq/rseq.c:37:
   In file included from ./../rseq/rseq.h:131:
   In file included from ../rseq/rseq-riscv.h:175:
   ../rseq/rseq-riscv-bits.h:343:15: warning: duplicate 'inline' declaration specifier [-Wduplicate-decl-specifier]
     343 | static inline __always_inline
         |               ^
   /usr/include/riscv64-linux-gnu/sys/cdefs.h:595:26: note: expanded from macro '__always_inline'
     595 | # define __always_inline __inline __attribute__ ((__always_inline__))
         |                          ^
   In file included from rseq_test.c:8:
   In file included from ./../rseq/rseq.c:37:
   In file included from ./../rseq/rseq.h:131:
   In file included from ../rseq/rseq-riscv.h:183:
>> ../rseq/rseq-riscv-bits.h:8:15: warning: duplicate 'inline' declaration specifier [-Wduplicate-decl-specifier]
       8 | static inline __always_inline
         |               ^
   /usr/include/riscv64-linux-gnu/sys/cdefs.h:595:26: note: expanded from macro '__always_inline'
     595 | # define __always_inline __inline __attribute__ ((__always_inline__))
         |                          ^
   In file included from rseq_test.c:8:
   In file included from ./../rseq/rseq.c:37:
   In file included from ./../rseq/rseq.h:131:
   In file included from ../rseq/rseq-riscv.h:183:
   ../rseq/rseq-riscv-bits.h:61:15: warning: duplicate 'inline' declaration specifier [-Wduplicate-decl-specifier]
      61 | static inline __always_inline
         |               ^
   /usr/include/riscv64-linux-gnu/sys/cdefs.h:595:26: note: expanded from macro '__always_inline'
     595 | # define __always_inline __inline __attribute__ ((__always_inline__))
         |                          ^
   In file included from rseq_test.c:8:
   In file included from ./../rseq/rseq.c:37:
   In file included from ./../rseq/rseq.h:131:
   In file included from ../rseq/rseq-riscv.h:183:
   ../rseq/rseq-riscv-bits.h:118:15: warning: duplicate 'inline' declaration specifier [-Wduplicate-decl-specifier]
     118 | static inline __always_inline
         |               ^
   /usr/include/riscv64-linux-gnu/sys/cdefs.h:595:26: note: expanded from macro '__always_inline'
     595 | # define __always_inline __inline __attribute__ ((__always_inline__))
         |                          ^
   In file included from rseq_test.c:8:
   In file included from ./../rseq/rseq.c:37:
   In file included from ./../rseq/rseq.h:131:
   In file included from ../rseq/rseq-riscv.h:183:
   ../rseq/rseq-riscv-bits.h:162:15: warning: duplicate 'inline' declaration specifier [-Wduplicate-decl-specifier]
     162 | static inline __always_inline
         |               ^
   /usr/include/riscv64-linux-gnu/sys/cdefs.h:595:26: note: expanded from macro '__always_inline'
     595 | # define __always_inline __inline __attribute__ ((__always_inline__))
         |                          ^
   In file included from rseq_test.c:8:
   In file included from ./../rseq/rseq.c:37:
   In file included from ./../rseq/rseq.h:131:
   In file included from ../rseq/rseq-riscv.h:183:
   ../rseq/rseq-riscv-bits.h:231:15: warning: duplicate 'inline' declaration specifier [-Wduplicate-decl-specifier]
     231 | static inline __always_inline
         |               ^
   /usr/include/riscv64-linux-gnu/sys/cdefs.h:595:26: note: expanded from macro '__always_inline'
     595 | # define __always_inline __inline __attribute__ ((__always_inline__))
         |                          ^
   In file included from rseq_test.c:8:
   In file included from ./../rseq/rseq.c:37:
   In file included from ./../rseq/rseq.h:131:
   In file included from ../rseq/rseq-riscv.h:183:
   ../rseq/rseq-riscv-bits.h:280:15: warning: duplicate 'inline' declaration specifier [-Wduplicate-decl-specifier]
     280 | static inline __always_inline
         |               ^
   /usr/include/riscv64-linux-gnu/sys/cdefs.h:595:26: note: expanded from macro '__always_inline'
     595 | # define __always_inline __inline __attribute__ ((__always_inline__))
         |                          ^
   In file included from rseq_test.c:8:
   In file included from ./../rseq/rseq.c:37:
   In file included from ./../rseq/rseq.h:131:
   In file included from ../rseq/rseq-riscv.h:183:
   ../rseq/rseq-riscv-bits.h:343:15: warning: duplicate 'inline' declaration specifier [-Wduplicate-decl-specifier]
     343 | static inline __always_inline
         |               ^
   /usr/include/riscv64-linux-gnu/sys/cdefs.h:595:26: note: expanded from macro '__always_inline'
     595 | # define __always_inline __inline __attribute__ ((__always_inline__))
         |                          ^
   In file included from rseq_test.c:8:
   In file included from ./../rseq/rseq.c:37:
   In file included from ./../rseq/rseq.h:131:
   In file included from ../rseq/rseq-riscv.h:187:
   ../rseq/rseq-riscv-bits.h:280:15: warning: duplicate 'inline' declaration specifier [-Wduplicate-decl-specifier]
     280 | static inline __always_inline
         |               ^
   /usr/include/riscv64-linux-gnu/sys/cdefs.h:595:26: note: expanded from macro '__always_inline'
     595 | # define __always_inline __inline __attribute__ ((__always_inline__))
         |                          ^
   In file included from rseq_test.c:8:
   In file included from ./../rseq/rseq.c:37:
   In file included from ./../rseq/rseq.h:131:
   In file included from ../rseq/rseq-riscv.h:187:
   ../rseq/rseq-riscv-bits.h:343:15: warning: duplicate 'inline' declaration specifier [-Wduplicate-decl-specifier]
     343 | static inline __always_inline
         |               ^
   /usr/include/riscv64-linux-gnu/sys/cdefs.h:595:26: note: expanded from macro '__always_inline'
     595 | # define __always_inline __inline __attribute__ ((__always_inline__))
         |                          ^
   18 warnings generated.

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


                 reply	other threads:[~2025-10-26  5:48 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=aP22CJcg9UUdNVjj@rli9-mobl \
    --to=lkp@intel.com \
    --cc=ajones@ventanamicro.com \
    --cc=anup@brainfault.org \
    --cc=dayss1224@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=zhouquan@iscas.ac.cn \
    /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

all inboxes | Powered by JetHome®