LKML Archive on
help / color / mirror / Atom feed
From: kernel test robot <>
To: WingMan Kwok <>
	Vignesh Raghavendra <>,
	Murali Karicheri <>,
	Lokesh Vutla <>,
	Kishon Vijay Abraham I <>
Subject: [ti:ti-rt-linux-5.10.y 6649/6833] include/net/sock.h:2523:43: error: 'SCM_REDUNDANT' undeclared
Date: Wed, 18 Aug 2021 23:00:30 +0800	[thread overview]
Message-ID: <> (raw)

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

Hi WingMan,

FYI, the error/warning still remains.

tree:   git:// ti-rt-linux-5.10.y
head:   ac3657d2050406e974383b1490184f42a06b73cc
commit: e355bf097bb11257afeadf6665e51f224eeb93a7 [6649/6833] net: packet: Pass on redundant net info in packet_recvmsg
config: parisc-randconfig-r022-20210817 (attached as .config)
compiler: hppa-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
        wget -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git remote add ti git://
        git fetch --no-tags ti ti-rt-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=parisc SHELL=/bin/bash kernel/cgroup/

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

All errors (new ones prefixed by >>):

   In file included from kernel/cgroup/cgroup.c:60:
   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

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

  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;
  2521		sred = skb_redinfo(skb);
  2522		if (sred->lsdu_size)
> 2523			put_cmsg(msg, SOL_SOCKET, SCM_REDUNDANT, sizeof(*sred), sred);
  2524	}

0-DAY CI Kernel Test Service, Intel Corporation

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

                 reply	other threads:[~2021-08-18 15:01 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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \ \
    --subject='Re: [ti:ti-rt-linux-5.10.y 6649/6833] include/net/sock.h:2523:43: error: '\''SCM_REDUNDANT'\'' undeclared' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).