All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC PATCH 1/2] net: netlink: add nla_get_*_default() accessors
Date: Fri, 25 Oct 2024 00:35:03 +0800	[thread overview]
Message-ID: <202410250052.PY6qSKo7-lkp@intel.com> (raw)
In-Reply-To: <20241024131807.0a6c07355832.I3df6aac71d38a5baa1c0a03d0c7e82d4395c030e@changeid>

Hi Johannes,

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

[auto build test ERROR on wireless-next/main]
[also build test ERROR on wireless/main netfilter-nf/main linus/master horms-ipvs/master nf-next/master v6.12-rc4 next-20241024]
[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/Johannes-Berg/net-convert-to-nla_get_-_default/20241024-191943
base:   https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next.git main
patch link:    https://lore.kernel.org/r/20241024131807.0a6c07355832.I3df6aac71d38a5baa1c0a03d0c7e82d4395c030e%40changeid
patch subject: [RFC PATCH 1/2] net: netlink: add nla_get_*_default() accessors
config: x86_64-kexec (https://download.01.org/0day-ci/archive/20241025/202410250052.PY6qSKo7-lkp@intel.com/config)
compiler: clang version 19.1.2 (https://github.com/llvm/llvm-project 7ba7d8e2f7b6445b60679da826210cdde29eaf8b)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241025/202410250052.PY6qSKo7-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/202410250052.PY6qSKo7-lkp@intel.com/

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

   In file included from fs/nfs/blocklayout/blocklayout.c:37:
   In file included from include/linux/bio.h:10:
   In file included from include/linux/blk_types.h:10:
   In file included from include/linux/bvec.h:10:
   In file included from include/linux/highmem.h:8:
   In file included from include/linux/cacheflush.h:5:
   In file included from arch/x86/include/asm/cacheflush.h:5:
   In file included from include/linux/mm.h:2213:
   include/linux/vmstat.h:504:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
     504 |         return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
         |                            ~~~~~~~~~~~~~~~~~~~~~ ^
     505 |                            item];
         |                            ~~~~
   include/linux/vmstat.h:511:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
     511 |         return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
         |                            ~~~~~~~~~~~~~~~~~~~~~ ^
     512 |                            NR_VM_NUMA_EVENT_ITEMS +
         |                            ~~~~~~~~~~~~~~~~~~~~~~
   include/linux/vmstat.h:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
     518 |         return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
         |                               ~~~~~~~~~~~ ^ ~~~
   include/linux/vmstat.h:524:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
     524 |         return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
         |                            ~~~~~~~~~~~~~~~~~~~~~ ^
     525 |                            NR_VM_NUMA_EVENT_ITEMS +
         |                            ~~~~~~~~~~~~~~~~~~~~~~
   In file included from fs/nfs/blocklayout/blocklayout.c:41:
   In file included from fs/nfs/blocklayout/../pnfs.h:34:
   In file included from include/linux/nfs_fs.h:32:
   In file included from include/linux/sunrpc/clnt.h:29:
   In file included from include/net/ipv6.h:12:
   In file included from include/linux/ipv6.h:102:
   In file included from include/linux/tcp.h:19:
   In file included from include/net/sock.h:66:
   In file included from include/net/dst.h:20:
   In file included from include/net/neighbour.h:31:
   In file included from include/net/rtnetlink.h:6:
>> include/net/netlink.h:1881:1: error: call to undeclared function 'n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1881 | MAKE_NLA_GET_DEFAULT(u8, nla_get_u8);
         | ^
   include/net/netlink.h:1878:9: note: expanded from macro 'MAKE_NLA_GET_DEFAULT'
    1878 |         return n(nla);                                  \
         |                ^
   include/net/netlink.h:1882:1: error: call to undeclared function 'n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1882 | MAKE_NLA_GET_DEFAULT(u16, nla_get_u16);
         | ^
   include/net/netlink.h:1878:9: note: expanded from macro 'MAKE_NLA_GET_DEFAULT'
    1878 |         return n(nla);                                  \
         |                ^
   include/net/netlink.h:1883:1: error: call to undeclared function 'n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1883 | MAKE_NLA_GET_DEFAULT(u32, nla_get_u32);
         | ^
   include/net/netlink.h:1878:9: note: expanded from macro 'MAKE_NLA_GET_DEFAULT'
    1878 |         return n(nla);                                  \
         |                ^
   include/net/netlink.h:1884:1: error: call to undeclared function 'n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1884 | MAKE_NLA_GET_DEFAULT(u64, nla_get_u64);
         | ^
   include/net/netlink.h:1878:9: note: expanded from macro 'MAKE_NLA_GET_DEFAULT'
    1878 |         return n(nla);                                  \
         |                ^
   include/net/netlink.h:1885:1: error: call to undeclared function 'n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1885 | MAKE_NLA_GET_DEFAULT(unsigned long, nla_get_msecs);
         | ^
   include/net/netlink.h:1878:9: note: expanded from macro 'MAKE_NLA_GET_DEFAULT'
    1878 |         return n(nla);                                  \
         |                ^
   include/net/netlink.h:1886:1: error: call to undeclared function 'n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1886 | MAKE_NLA_GET_DEFAULT(s8, nla_get_s8);
         | ^
   include/net/netlink.h:1878:9: note: expanded from macro 'MAKE_NLA_GET_DEFAULT'
    1878 |         return n(nla);                                  \
         |                ^
   include/net/netlink.h:1887:1: error: call to undeclared function 'n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1887 | MAKE_NLA_GET_DEFAULT(s16, nla_get_s16);
         | ^
   include/net/netlink.h:1878:9: note: expanded from macro 'MAKE_NLA_GET_DEFAULT'
    1878 |         return n(nla);                                  \
         |                ^
   include/net/netlink.h:1888:1: error: call to undeclared function 'n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1888 | MAKE_NLA_GET_DEFAULT(s32, nla_get_s32);
         | ^
   include/net/netlink.h:1878:9: note: expanded from macro 'MAKE_NLA_GET_DEFAULT'
    1878 |         return n(nla);                                  \
         |                ^
   include/net/netlink.h:1889:1: error: call to undeclared function 'n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1889 | MAKE_NLA_GET_DEFAULT(s64, nla_get_s64);
         | ^
   include/net/netlink.h:1878:9: note: expanded from macro 'MAKE_NLA_GET_DEFAULT'
    1878 |         return n(nla);                                  \
         |                ^
   include/net/netlink.h:1890:1: error: call to undeclared function 'n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1890 | MAKE_NLA_GET_DEFAULT(s16, nla_get_le16);
         | ^
   include/net/netlink.h:1878:9: note: expanded from macro 'MAKE_NLA_GET_DEFAULT'
    1878 |         return n(nla);                                  \
         |                ^
   include/net/netlink.h:1891:1: error: call to undeclared function 'n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1891 | MAKE_NLA_GET_DEFAULT(s32, nla_get_le32);
         | ^
   include/net/netlink.h:1878:9: note: expanded from macro 'MAKE_NLA_GET_DEFAULT'
    1878 |         return n(nla);                                  \
         |                ^
   include/net/netlink.h:1892:1: error: call to undeclared function 'n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1892 | MAKE_NLA_GET_DEFAULT(s64, nla_get_le64);
         | ^
   include/net/netlink.h:1878:9: note: expanded from macro 'MAKE_NLA_GET_DEFAULT'
    1878 |         return n(nla);                                  \
         |                ^
   include/net/netlink.h:1893:1: error: call to undeclared function 'n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1893 | MAKE_NLA_GET_DEFAULT(s16, nla_get_be16);
         | ^
   include/net/netlink.h:1878:9: note: expanded from macro 'MAKE_NLA_GET_DEFAULT'
    1878 |         return n(nla);                                  \
         |                ^
   include/net/netlink.h:1894:1: error: call to undeclared function 'n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1894 | MAKE_NLA_GET_DEFAULT(s32, nla_get_be32);
         | ^
   include/net/netlink.h:1878:9: note: expanded from macro 'MAKE_NLA_GET_DEFAULT'
    1878 |         return n(nla);                                  \
         |                ^
   include/net/netlink.h:1895:1: error: call to undeclared function 'n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1895 | MAKE_NLA_GET_DEFAULT(s64, nla_get_be64);
         | ^
   include/net/netlink.h:1878:9: note: expanded from macro 'MAKE_NLA_GET_DEFAULT'
    1878 |         return n(nla);                                  \
         |                ^
   fs/nfs/blocklayout/blocklayout.c:384:9: warning: variable 'count' set but not used [-Wunused-but-set-variable]
     384 |         size_t count = header->args.count;
         |                ^
   5 warnings and 15 errors generated.
--
   In file included from fs/nfs/blocklayout/dev.c:5:
   In file included from include/linux/sunrpc/svc.h:17:
   In file included from include/linux/sunrpc/xdr.h:17:
   In file included from include/linux/scatterlist.h:8:
   In file included from include/linux/mm.h:2213:
   include/linux/vmstat.h:504:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
     504 |         return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
         |                            ~~~~~~~~~~~~~~~~~~~~~ ^
     505 |                            item];
         |                            ~~~~
   include/linux/vmstat.h:511:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
     511 |         return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
         |                            ~~~~~~~~~~~~~~~~~~~~~ ^
     512 |                            NR_VM_NUMA_EVENT_ITEMS +
         |                            ~~~~~~~~~~~~~~~~~~~~~~
   include/linux/vmstat.h:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
     518 |         return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
         |                               ~~~~~~~~~~~ ^ ~~~
   include/linux/vmstat.h:524:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
     524 |         return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
         |                            ~~~~~~~~~~~~~~~~~~~~~ ^
     525 |                            NR_VM_NUMA_EVENT_ITEMS +
         |                            ~~~~~~~~~~~~~~~~~~~~~~
   In file included from fs/nfs/blocklayout/dev.c:5:
   In file included from include/linux/sunrpc/svc.h:19:
   In file included from include/linux/sunrpc/svcauth.h:17:
   In file included from include/linux/sunrpc/clnt.h:29:
   In file included from include/net/ipv6.h:12:
   In file included from include/linux/ipv6.h:102:
   In file included from include/linux/tcp.h:19:
   In file included from include/net/sock.h:66:
   In file included from include/net/dst.h:20:
   In file included from include/net/neighbour.h:31:
   In file included from include/net/rtnetlink.h:6:
>> include/net/netlink.h:1881:1: error: call to undeclared function 'n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1881 | MAKE_NLA_GET_DEFAULT(u8, nla_get_u8);
         | ^
   include/net/netlink.h:1878:9: note: expanded from macro 'MAKE_NLA_GET_DEFAULT'
    1878 |         return n(nla);                                  \
         |                ^
   include/net/netlink.h:1882:1: error: call to undeclared function 'n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1882 | MAKE_NLA_GET_DEFAULT(u16, nla_get_u16);
         | ^
   include/net/netlink.h:1878:9: note: expanded from macro 'MAKE_NLA_GET_DEFAULT'
    1878 |         return n(nla);                                  \
         |                ^
   include/net/netlink.h:1883:1: error: call to undeclared function 'n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1883 | MAKE_NLA_GET_DEFAULT(u32, nla_get_u32);
         | ^
   include/net/netlink.h:1878:9: note: expanded from macro 'MAKE_NLA_GET_DEFAULT'
    1878 |         return n(nla);                                  \
         |                ^
   include/net/netlink.h:1884:1: error: call to undeclared function 'n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1884 | MAKE_NLA_GET_DEFAULT(u64, nla_get_u64);
         | ^
   include/net/netlink.h:1878:9: note: expanded from macro 'MAKE_NLA_GET_DEFAULT'
    1878 |         return n(nla);                                  \
         |                ^
   include/net/netlink.h:1885:1: error: call to undeclared function 'n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1885 | MAKE_NLA_GET_DEFAULT(unsigned long, nla_get_msecs);
         | ^
   include/net/netlink.h:1878:9: note: expanded from macro 'MAKE_NLA_GET_DEFAULT'
    1878 |         return n(nla);                                  \
         |                ^
   include/net/netlink.h:1886:1: error: call to undeclared function 'n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1886 | MAKE_NLA_GET_DEFAULT(s8, nla_get_s8);
         | ^
   include/net/netlink.h:1878:9: note: expanded from macro 'MAKE_NLA_GET_DEFAULT'
    1878 |         return n(nla);                                  \
         |                ^
   include/net/netlink.h:1887:1: error: call to undeclared function 'n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1887 | MAKE_NLA_GET_DEFAULT(s16, nla_get_s16);
         | ^
   include/net/netlink.h:1878:9: note: expanded from macro 'MAKE_NLA_GET_DEFAULT'
    1878 |         return n(nla);                                  \
         |                ^
   include/net/netlink.h:1888:1: error: call to undeclared function 'n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1888 | MAKE_NLA_GET_DEFAULT(s32, nla_get_s32);
         | ^
   include/net/netlink.h:1878:9: note: expanded from macro 'MAKE_NLA_GET_DEFAULT'
    1878 |         return n(nla);                                  \
         |                ^
   include/net/netlink.h:1889:1: error: call to undeclared function 'n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1889 | MAKE_NLA_GET_DEFAULT(s64, nla_get_s64);
         | ^
   include/net/netlink.h:1878:9: note: expanded from macro 'MAKE_NLA_GET_DEFAULT'
    1878 |         return n(nla);                                  \
         |                ^
   include/net/netlink.h:1890:1: error: call to undeclared function 'n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1890 | MAKE_NLA_GET_DEFAULT(s16, nla_get_le16);
         | ^
   include/net/netlink.h:1878:9: note: expanded from macro 'MAKE_NLA_GET_DEFAULT'
    1878 |         return n(nla);                                  \
         |                ^
   include/net/netlink.h:1891:1: error: call to undeclared function 'n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1891 | MAKE_NLA_GET_DEFAULT(s32, nla_get_le32);
         | ^
   include/net/netlink.h:1878:9: note: expanded from macro 'MAKE_NLA_GET_DEFAULT'
    1878 |         return n(nla);                                  \
         |                ^
   include/net/netlink.h:1892:1: error: call to undeclared function 'n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1892 | MAKE_NLA_GET_DEFAULT(s64, nla_get_le64);
         | ^
   include/net/netlink.h:1878:9: note: expanded from macro 'MAKE_NLA_GET_DEFAULT'
    1878 |         return n(nla);                                  \
         |                ^
   include/net/netlink.h:1893:1: error: call to undeclared function 'n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1893 | MAKE_NLA_GET_DEFAULT(s16, nla_get_be16);
         | ^
   include/net/netlink.h:1878:9: note: expanded from macro 'MAKE_NLA_GET_DEFAULT'
    1878 |         return n(nla);                                  \
         |                ^
   include/net/netlink.h:1894:1: error: call to undeclared function 'n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1894 | MAKE_NLA_GET_DEFAULT(s32, nla_get_be32);
         | ^
   include/net/netlink.h:1878:9: note: expanded from macro 'MAKE_NLA_GET_DEFAULT'
    1878 |         return n(nla);                                  \
         |                ^
   include/net/netlink.h:1895:1: error: call to undeclared function 'n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1895 | MAKE_NLA_GET_DEFAULT(s64, nla_get_be64);
         | ^
   include/net/netlink.h:1878:9: note: expanded from macro 'MAKE_NLA_GET_DEFAULT'
    1878 |         return n(nla);                                  \
         |                ^
   4 warnings and 15 errors generated.
--
   In file included from drivers/net/ethernet/intel/e1000e/netdev.c:9:
   In file included from include/linux/pci.h:1650:
   In file included from include/linux/dmapool.h:14:
   In file included from include/linux/scatterlist.h:8:
   In file included from include/linux/mm.h:2213:
   include/linux/vmstat.h:504:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
     504 |         return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
         |                            ~~~~~~~~~~~~~~~~~~~~~ ^
     505 |                            item];
         |                            ~~~~
   include/linux/vmstat.h:511:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
     511 |         return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
         |                            ~~~~~~~~~~~~~~~~~~~~~ ^
     512 |                            NR_VM_NUMA_EVENT_ITEMS +
         |                            ~~~~~~~~~~~~~~~~~~~~~~
   include/linux/vmstat.h:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
     518 |         return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
         |                               ~~~~~~~~~~~ ^ ~~~
   include/linux/vmstat.h:524:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
     524 |         return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
         |                            ~~~~~~~~~~~~~~~~~~~~~ ^
     525 |                            NR_VM_NUMA_EVENT_ITEMS +
         |                            ~~~~~~~~~~~~~~~~~~~~~~
   In file included from drivers/net/ethernet/intel/e1000e/netdev.c:15:
   In file included from include/linux/tcp.h:19:
   In file included from include/net/sock.h:66:
   In file included from include/net/dst.h:20:
   In file included from include/net/neighbour.h:31:
   In file included from include/net/rtnetlink.h:6:
>> include/net/netlink.h:1881:1: error: call to undeclared function 'n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1881 | MAKE_NLA_GET_DEFAULT(u8, nla_get_u8);
         | ^
   include/net/netlink.h:1878:9: note: expanded from macro 'MAKE_NLA_GET_DEFAULT'
    1878 |         return n(nla);                                  \
         |                ^
   include/net/netlink.h:1882:1: error: call to undeclared function 'n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1882 | MAKE_NLA_GET_DEFAULT(u16, nla_get_u16);
         | ^
   include/net/netlink.h:1878:9: note: expanded from macro 'MAKE_NLA_GET_DEFAULT'
    1878 |         return n(nla);                                  \
         |                ^
   include/net/netlink.h:1883:1: error: call to undeclared function 'n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1883 | MAKE_NLA_GET_DEFAULT(u32, nla_get_u32);
         | ^
   include/net/netlink.h:1878:9: note: expanded from macro 'MAKE_NLA_GET_DEFAULT'
    1878 |         return n(nla);                                  \
         |                ^
   include/net/netlink.h:1884:1: error: call to undeclared function 'n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1884 | MAKE_NLA_GET_DEFAULT(u64, nla_get_u64);
         | ^
   include/net/netlink.h:1878:9: note: expanded from macro 'MAKE_NLA_GET_DEFAULT'
    1878 |         return n(nla);                                  \
         |                ^
   include/net/netlink.h:1885:1: error: call to undeclared function 'n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1885 | MAKE_NLA_GET_DEFAULT(unsigned long, nla_get_msecs);
         | ^
   include/net/netlink.h:1878:9: note: expanded from macro 'MAKE_NLA_GET_DEFAULT'
    1878 |         return n(nla);                                  \
         |                ^
   include/net/netlink.h:1886:1: error: call to undeclared function 'n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1886 | MAKE_NLA_GET_DEFAULT(s8, nla_get_s8);
         | ^
   include/net/netlink.h:1878:9: note: expanded from macro 'MAKE_NLA_GET_DEFAULT'
    1878 |         return n(nla);                                  \
         |                ^
   include/net/netlink.h:1887:1: error: call to undeclared function 'n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1887 | MAKE_NLA_GET_DEFAULT(s16, nla_get_s16);
         | ^
   include/net/netlink.h:1878:9: note: expanded from macro 'MAKE_NLA_GET_DEFAULT'
    1878 |         return n(nla);                                  \
         |                ^
   include/net/netlink.h:1888:1: error: call to undeclared function 'n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1888 | MAKE_NLA_GET_DEFAULT(s32, nla_get_s32);
         | ^
   include/net/netlink.h:1878:9: note: expanded from macro 'MAKE_NLA_GET_DEFAULT'
    1878 |         return n(nla);                                  \
         |                ^
   include/net/netlink.h:1889:1: error: call to undeclared function 'n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1889 | MAKE_NLA_GET_DEFAULT(s64, nla_get_s64);
         | ^
   include/net/netlink.h:1878:9: note: expanded from macro 'MAKE_NLA_GET_DEFAULT'
    1878 |         return n(nla);                                  \
         |                ^
   include/net/netlink.h:1890:1: error: call to undeclared function 'n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1890 | MAKE_NLA_GET_DEFAULT(s16, nla_get_le16);
         | ^
   include/net/netlink.h:1878:9: note: expanded from macro 'MAKE_NLA_GET_DEFAULT'
    1878 |         return n(nla);                                  \
         |                ^
   include/net/netlink.h:1891:1: error: call to undeclared function 'n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1891 | MAKE_NLA_GET_DEFAULT(s32, nla_get_le32);
         | ^
   include/net/netlink.h:1878:9: note: expanded from macro 'MAKE_NLA_GET_DEFAULT'
    1878 |         return n(nla);                                  \
         |                ^
   include/net/netlink.h:1892:1: error: call to undeclared function 'n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1892 | MAKE_NLA_GET_DEFAULT(s64, nla_get_le64);
         | ^
   include/net/netlink.h:1878:9: note: expanded from macro 'MAKE_NLA_GET_DEFAULT'
    1878 |         return n(nla);                                  \
         |                ^
   include/net/netlink.h:1893:1: error: call to undeclared function 'n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1893 | MAKE_NLA_GET_DEFAULT(s16, nla_get_be16);
         | ^
   include/net/netlink.h:1878:9: note: expanded from macro 'MAKE_NLA_GET_DEFAULT'
    1878 |         return n(nla);                                  \
         |                ^
   include/net/netlink.h:1894:1: error: call to undeclared function 'n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1894 | MAKE_NLA_GET_DEFAULT(s32, nla_get_be32);
         | ^
   include/net/netlink.h:1878:9: note: expanded from macro 'MAKE_NLA_GET_DEFAULT'
    1878 |         return n(nla);                                  \
         |                ^
   include/net/netlink.h:1895:1: error: call to undeclared function 'n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    1895 | MAKE_NLA_GET_DEFAULT(s64, nla_get_be64);
         | ^
   include/net/netlink.h:1878:9: note: expanded from macro 'MAKE_NLA_GET_DEFAULT'
    1878 |         return n(nla);                                  \
         |                ^
>> drivers/net/ethernet/intel/e1000e/netdev.c:4460:22: warning: shift count >= width of type [-Wshift-count-overflow]
    4460 |                 adapter->cc.mask = CYCLECOUNTER_MASK(64);
         |                                    ^~~~~~~~~~~~~~~~~~~~~
   include/linux/timecounter.h:14:59: note: expanded from macro 'CYCLECOUNTER_MASK'
      14 | #define CYCLECOUNTER_MASK(bits) (u64)((bits) < 64 ? ((1ULL<<(bits))-1) : -1)
         |                                                           ^ ~~~~~~
   drivers/net/ethernet/intel/e1000e/netdev.c:7386:46: warning: shift count >= width of type [-Wshift-count-overflow]
    7386 |         err = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64));
         |                                                     ^~~~~~~~~~~~~~~~
   include/linux/dma-mapping.h:77:54: note: expanded from macro 'DMA_BIT_MASK'
      77 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1))
         |                                                      ^ ~~~
   6 warnings and 15 errors generated.
..


vim +/n +1881 include/net/netlink.h

  1880	
> 1881	MAKE_NLA_GET_DEFAULT(u8, nla_get_u8);
  1882	MAKE_NLA_GET_DEFAULT(u16, nla_get_u16);
  1883	MAKE_NLA_GET_DEFAULT(u32, nla_get_u32);
  1884	MAKE_NLA_GET_DEFAULT(u64, nla_get_u64);
  1885	MAKE_NLA_GET_DEFAULT(unsigned long, nla_get_msecs);
  1886	MAKE_NLA_GET_DEFAULT(s8, nla_get_s8);
  1887	MAKE_NLA_GET_DEFAULT(s16, nla_get_s16);
  1888	MAKE_NLA_GET_DEFAULT(s32, nla_get_s32);
  1889	MAKE_NLA_GET_DEFAULT(s64, nla_get_s64);
  1890	MAKE_NLA_GET_DEFAULT(s16, nla_get_le16);
  1891	MAKE_NLA_GET_DEFAULT(s32, nla_get_le32);
  1892	MAKE_NLA_GET_DEFAULT(s64, nla_get_le64);
  1893	MAKE_NLA_GET_DEFAULT(s16, nla_get_be16);
  1894	MAKE_NLA_GET_DEFAULT(s32, nla_get_be32);
  1895	MAKE_NLA_GET_DEFAULT(s64, nla_get_be64);
  1896	

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

  parent reply	other threads:[~2024-10-24 16:36 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-24 11:18 [RFC PATCH 1/2] net: netlink: add nla_get_*_default() accessors Johannes Berg
2024-10-24 11:18 ` [RFC PATCH 2/2] net: convert to nla_get_*_default() Johannes Berg
2024-10-24 12:11   ` Johannes Berg
2024-10-24 14:28     ` Sabrina Dubroca
2024-10-24 14:31       ` Johannes Berg
2024-10-24 14:40         ` Johannes Berg
2024-10-24 13:41   ` Johannes Berg
2024-10-24 14:48     ` Sabrina Dubroca
2024-10-24 14:52       ` Johannes Berg
2024-10-24 15:17         ` Sabrina Dubroca
2024-10-24 15:29           ` Johannes Berg
2024-10-29 15:57   ` Jakub Kicinski
2024-10-24 11:29 ` [RFC PATCH 1/2] net: netlink: add nla_get_*_default() accessors Johannes Berg
2024-10-24 12:51 ` Toke Høiland-Jørgensen
2024-10-24 15:42 ` kernel test robot
2024-10-24 16:35 ` kernel test robot [this message]
2024-10-29 15:54 ` Jakub Kicinski

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=202410250052.PY6qSKo7-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=johannes@sipsolutions.net \
    --cc=llvm@lists.linux.dev \
    --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.