All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Paolo Abeni <pabeni@redhat.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC PATCH v2 1/8] virtio: introduce virtio_features_t
Date: Sat, 31 May 2025 01:40:07 +0800	[thread overview]
Message-ID: <202505310153.xoBJS3F5-lkp@intel.com> (raw)
In-Reply-To: <5be304a8d0e2fffa6bd13cfa9ff848b2e5842171.1748614223.git.pabeni@redhat.com>

Hi Paolo,

[This is a private test report for your RFC patch.]
kernel test robot noticed the following build errors:

[auto build test ERROR on mst-vhost/linux-next]
[also build test ERROR on net/main net-next/main linus/master v6.15 next-20250530]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Paolo-Abeni/virtio-introduce-virtio_features_t/20250530-225213
base:   https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git linux-next
patch link:    https://lore.kernel.org/r/5be304a8d0e2fffa6bd13cfa9ff848b2e5842171.1748614223.git.pabeni%40redhat.com
patch subject: [RFC PATCH v2 1/8] virtio: introduce virtio_features_t
config: riscv-randconfig-002-20250530 (https://download.01.org/0day-ci/archive/20250531/202505310153.xoBJS3F5-lkp@intel.com/config)
compiler: riscv32-linux-gcc (GCC) 10.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250531/202505310153.xoBJS3F5-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/202505310153.xoBJS3F5-lkp@intel.com/

All error/warnings (new ones prefixed by >>):

   In file included from include/linux/bits.h:6,
                    from include/linux/bitops.h:6,
                    from include/linux/kernel.h:23,
                    from include/linux/uio.h:8,
                    from include/linux/socket.h:8,
                    from include/uapi/linux/in.h:25,
                    from include/linux/in.h:19,
                    from net/9p/trans_virtio.c:16:
   include/linux/virtio_features.h: In function 'VIRTIO_BIT':
>> include/linux/virtio_features.h:21:33: error: 'b' undeclared (first use in this function); did you mean 'mb'?
      21 |  return bit >= 64 ? 0 : BIT_ULL(b);
         |                                 ^
   include/vdso/bits.h:8:34: note: in definition of macro 'BIT_ULL'
       8 | #define BIT_ULL(nr)  (ULL(1) << (nr))
         |                                  ^~
   include/linux/virtio_features.h:21:33: note: each undeclared identifier is reported only once for each function it appears in
      21 |  return bit >= 64 ? 0 : BIT_ULL(b);
         |                                 ^
   include/vdso/bits.h:8:34: note: in definition of macro 'BIT_ULL'
       8 | #define BIT_ULL(nr)  (ULL(1) << (nr))
         |                                  ^~
   In file included from include/linux/virtio.h:14,
                    from net/9p/trans_virtio.c:34:
>> include/linux/virtio_features.h:22:1: warning: control reaches end of non-void function [-Wreturn-type]
      22 | }
         | ^


vim +21 include/linux/virtio_features.h

    18	
    19	static inline u64 VIRTIO_BIT(int bit)
    20	{
  > 21		return bit >= 64 ? 0 : BIT_ULL(b);
  > 22	}
    23	

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

  reply	other threads:[~2025-05-30 17:40 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-30 14:49 [RFC PATCH v2 0/8] virtio: introduce GSO over UDP tunnel Paolo Abeni
2025-05-30 14:49 ` [RFC PATCH v2 1/8] virtio: introduce virtio_features_t Paolo Abeni
2025-05-30 17:40   ` kernel test robot [this message]
2025-05-31  5:37   ` Akihiko Odaki
2025-05-30 14:49 ` [RFC PATCH v2 2/8] virtio_pci_modern: allow configuring extended features Paolo Abeni
2025-05-30 14:49 ` [RFC PATCH v2 3/8] vhost-net: " Paolo Abeni
2025-05-31  6:15   ` Akihiko Odaki
2025-06-03 13:32     ` Paolo Abeni
2025-06-06  9:57       ` Akihiko Odaki
2025-06-06 11:52         ` Paolo Abeni
2025-06-08  5:28           ` Akihiko Odaki
2025-05-30 14:49 ` [RFC PATCH v2 4/8] virtio_net: add supports for extended offloads Paolo Abeni
2025-05-31  6:18   ` Akihiko Odaki
2025-05-30 14:49 ` [RFC PATCH v2 5/8] net: implement virtio helpers to handle UDP GSO tunneling Paolo Abeni
2025-05-30 14:49 ` [RFC PATCH v2 6/8] virtio_net: enable gso over UDP tunnel support Paolo Abeni
2025-05-30 14:49 ` [RFC PATCH v2 7/8] tun: " Paolo Abeni
2025-05-31  6:38   ` Akihiko Odaki
2025-05-30 14:49 ` [RFC PATCH v2 8/8] vhost/net: " Paolo Abeni

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=202505310153.xoBJS3F5-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=pabeni@redhat.com \
    /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.