lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Thu, 24 Feb 2022 03:36:10 +0800
From:   kernel test robot <lkp@...el.com>
To:     Ingo Molnar <mingo@...nel.org>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org
Subject: [mingo-tip:sched/headers 1897/2340] net/smc/smc.h:284:44: error: use
 of undeclared identifier 'SK_USER_DATA_NOCOPY'

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git sched/headers
head:   97c5eeb4de3ad324ed2a4656b46465299cfd010a
commit: 5c5994d6ff9b0f6c42142054bd317726ff1d9ef4 [1897/2340] headers/deps: net: Optimize <net/inet_timewait_sock.h> dependencies
config: i386-randconfig-a013 (https://download.01.org/0day-ci/archive/20220224/202202240341.mxu0MQrq-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project d271fc04d5b97b12e6b797c6067d3c96a8d7470e)
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
        # https://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git/commit/?id=5c5994d6ff9b0f6c42142054bd317726ff1d9ef4
        git remote add mingo-tip git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git
        git fetch --no-tags mingo-tip sched/headers
        git checkout 5c5994d6ff9b0f6c42142054bd317726ff1d9ef4
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash net/dsa/ net/smc/

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

Note: the mingo-tip/sched/headers HEAD 97c5eeb4de3ad324ed2a4656b46465299cfd010a builds fine.
      It only hurts bisectability.

All errors (new ones prefixed by >>):

   In file included from net/smc/smc_wr.c:40:
>> net/smc/smc.h:284:44: error: use of undeclared identifier 'SK_USER_DATA_NOCOPY'
                  ((uintptr_t)clcsk->sk_user_data & ~SK_USER_DATA_NOCOPY);
                                                     ^
   1 error generated.
--
   In file included from net/smc/smc_tracepoint.c:4:
   In file included from net/smc/smc_tracepoint.h:13:
>> net/smc/smc.h:284:44: error: use of undeclared identifier 'SK_USER_DATA_NOCOPY'
                  ((uintptr_t)clcsk->sk_user_data & ~SK_USER_DATA_NOCOPY);
                                                     ^
   In file included from net/smc/smc_tracepoint.c:4:
   In file included from net/smc/smc_tracepoint.h:125:
   include/trace/define_trace.h:95:10: fatal error: './smc_tracepoint.h' file not found
   #include TRACE_INCLUDE(TRACE_INCLUDE_FILE)
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/trace/define_trace.h:90:32: note: expanded from macro 'TRACE_INCLUDE'
   # define TRACE_INCLUDE(system) __TRACE_INCLUDE(system)
                                  ^~~~~~~~~~~~~~~~~~~~~~~
   include/trace/define_trace.h:87:34: note: expanded from macro '__TRACE_INCLUDE'
   # define __TRACE_INCLUDE(system) __stringify(TRACE_INCLUDE_PATH/system.h)
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/stringify.h:10:27: note: expanded from macro '__stringify'
   #define __stringify(x...)       __stringify_1(x)
                                   ^~~~~~~~~~~~~~~~
   include/linux/stringify.h:9:29: note: expanded from macro '__stringify_1'
   #define __stringify_1(x...)     #x
                                   ^~
   <scratch space>:113:1: note: expanded from here
   "./smc_tracepoint.h"
   ^~~~~~~~~~~~~~~~~~~~
   2 errors generated.


vim +/SK_USER_DATA_NOCOPY +284 net/smc/smc.h

ac7138746e1413 Ursula Braun 2017-01-09  280  
341adeec9adad0 Wen Gu       2022-01-26  281  static inline struct smc_sock *smc_clcsock_user_data(struct sock *clcsk)
341adeec9adad0 Wen Gu       2022-01-26  282  {
341adeec9adad0 Wen Gu       2022-01-26  283  	return (struct smc_sock *)
341adeec9adad0 Wen Gu       2022-01-26 @284  	       ((uintptr_t)clcsk->sk_user_data & ~SK_USER_DATA_NOCOPY);
341adeec9adad0 Wen Gu       2022-01-26  285  }
341adeec9adad0 Wen Gu       2022-01-26  286  

:::::: The code at line 284 was first introduced by commit
:::::: 341adeec9adad0874f29a0a1af35638207352a39 net/smc: Forward wakeup to smc socket waitqueue after fallback

:::::: TO: Wen Gu <guwen@...ux.alibaba.com>
:::::: CC: David S. Miller <davem@...emloft.net>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ