All of lore.kernel.org
 help / color / mirror / Atom feed
* [ti:ti-linux-5.10.y 7094/9578] include/net/sock.h:2523:43: error: 'SCM_REDUNDANT' undeclared
@ 2021-10-11  9:44 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-10-11  9:44 UTC (permalink / raw)
  To: WingMan Kwok
  Cc: kbuild-all, linux-kernel, Vignesh Raghavendra, Murali Karicheri,
	Lokesh Vutla, Kishon Vijay Abraham I

[-- Attachment #1: Type: text/plain, Size: 3272 bytes --]

tree:   git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git ti-linux-5.10.y
head:   f25fed53436a83d746c481ba852b3d4c10d0bab0
commit: e355bf097bb11257afeadf6665e51f224eeb93a7 [7094/9578] net: packet: Pass on redundant net info in packet_recvmsg
config: mips-buildonly-randconfig-r001-20211011 (attached as .config)
compiler: mipsel-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git remote add ti git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git
        git fetch --no-tags ti ti-linux-5.10.y
        git checkout e355bf097bb11257afeadf6665e51f224eeb93a7
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=mips SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   In file included from include/linux/tcp.h:19,
                    from include/linux/ipv6.h:87,
                    from include/net/ipv6.h:12,
                    from include/linux/sunrpc/clnt.h:28,
                    from include/linux/nfs_fs.h:32,
                    from init/do_mounts.c:23:
   include/net/sock.h: In function 'sock_recv_redundant_info':
>> include/net/sock.h:2523:43: error: 'SCM_REDUNDANT' undeclared (first use in this function)
    2523 |                 put_cmsg(msg, SOL_SOCKET, SCM_REDUNDANT, sizeof(*sred), sred);
         |                                           ^~~~~~~~~~~~~
   include/net/sock.h:2523:43: note: each undeclared identifier is reported only once for each function it appears in
--
   In file included from include/linux/tcp.h:19,
                    from include/linux/ipv6.h:87,
                    from include/net/addrconf.h:50,
                    from lib/vsprintf.c:40:
   include/net/sock.h: In function 'sock_recv_redundant_info':
>> include/net/sock.h:2523:43: error: 'SCM_REDUNDANT' undeclared (first use in this function)
    2523 |                 put_cmsg(msg, SOL_SOCKET, SCM_REDUNDANT, sizeof(*sred), sred);
         |                                           ^~~~~~~~~~~~~
   include/net/sock.h:2523:43: note: each undeclared identifier is reported only once for each function it appears in
   lib/vsprintf.c: In function 'va_format':
   lib/vsprintf.c:1663:9: warning: function 'va_format' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format]
    1663 |         buf += vsnprintf(buf, end > buf ? end - buf : 0, va_fmt->fmt, va);
         |         ^~~


vim +/SCM_REDUNDANT +2523 include/net/sock.h

  2514	
  2515	DECLARE_STATIC_KEY_FALSE(tcp_rx_skb_cache_key);
  2516	static inline void sock_recv_redundant_info(struct msghdr *msg, struct sock *sk,
  2517						    struct sk_buff *skb)
  2518	{
  2519		struct skb_redundant_info *sred;
  2520	
  2521		sred = skb_redinfo(skb);
  2522		if (sred->lsdu_size)
> 2523			put_cmsg(msg, SOL_SOCKET, SCM_REDUNDANT, sizeof(*sred), sred);
  2524	}
  2525	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 26903 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [ti:ti-linux-5.10.y 7094/9578] include/net/sock.h:2523:43: error: 'SCM_REDUNDANT' undeclared
@ 2021-10-11  9:44 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-10-11  9:44 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 3339 bytes --]

tree:   git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git ti-linux-5.10.y
head:   f25fed53436a83d746c481ba852b3d4c10d0bab0
commit: e355bf097bb11257afeadf6665e51f224eeb93a7 [7094/9578] net: packet: Pass on redundant net info in packet_recvmsg
config: mips-buildonly-randconfig-r001-20211011 (attached as .config)
compiler: mipsel-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git remote add ti git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git
        git fetch --no-tags ti ti-linux-5.10.y
        git checkout e355bf097bb11257afeadf6665e51f224eeb93a7
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=mips SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   In file included from include/linux/tcp.h:19,
                    from include/linux/ipv6.h:87,
                    from include/net/ipv6.h:12,
                    from include/linux/sunrpc/clnt.h:28,
                    from include/linux/nfs_fs.h:32,
                    from init/do_mounts.c:23:
   include/net/sock.h: In function 'sock_recv_redundant_info':
>> include/net/sock.h:2523:43: error: 'SCM_REDUNDANT' undeclared (first use in this function)
    2523 |                 put_cmsg(msg, SOL_SOCKET, SCM_REDUNDANT, sizeof(*sred), sred);
         |                                           ^~~~~~~~~~~~~
   include/net/sock.h:2523:43: note: each undeclared identifier is reported only once for each function it appears in
--
   In file included from include/linux/tcp.h:19,
                    from include/linux/ipv6.h:87,
                    from include/net/addrconf.h:50,
                    from lib/vsprintf.c:40:
   include/net/sock.h: In function 'sock_recv_redundant_info':
>> include/net/sock.h:2523:43: error: 'SCM_REDUNDANT' undeclared (first use in this function)
    2523 |                 put_cmsg(msg, SOL_SOCKET, SCM_REDUNDANT, sizeof(*sred), sred);
         |                                           ^~~~~~~~~~~~~
   include/net/sock.h:2523:43: note: each undeclared identifier is reported only once for each function it appears in
   lib/vsprintf.c: In function 'va_format':
   lib/vsprintf.c:1663:9: warning: function 'va_format' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format]
    1663 |         buf += vsnprintf(buf, end > buf ? end - buf : 0, va_fmt->fmt, va);
         |         ^~~


vim +/SCM_REDUNDANT +2523 include/net/sock.h

  2514	
  2515	DECLARE_STATIC_KEY_FALSE(tcp_rx_skb_cache_key);
  2516	static inline void sock_recv_redundant_info(struct msghdr *msg, struct sock *sk,
  2517						    struct sk_buff *skb)
  2518	{
  2519		struct skb_redundant_info *sred;
  2520	
  2521		sred = skb_redinfo(skb);
  2522		if (sred->lsdu_size)
> 2523			put_cmsg(msg, SOL_SOCKET, SCM_REDUNDANT, sizeof(*sred), sred);
  2524	}
  2525	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 26903 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-11  9:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-11  9:44 [ti:ti-linux-5.10.y 7094/9578] include/net/sock.h:2523:43: error: 'SCM_REDUNDANT' undeclared kernel test robot
2021-10-11  9:44 ` kernel test robot

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.