From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id D0FEDC433F5 for ; Tue, 11 Jan 2022 05:31:32 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 2ECD06B0072; Tue, 11 Jan 2022 00:31:32 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 29C676B0073; Tue, 11 Jan 2022 00:31:32 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 165496B0074; Tue, 11 Jan 2022 00:31:32 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0109.hostedemail.com [216.40.44.109]) by kanga.kvack.org (Postfix) with ESMTP id 076AC6B0072 for ; Tue, 11 Jan 2022 00:31:32 -0500 (EST) Received: from smtpin29.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id B4E1918210EAD for ; Tue, 11 Jan 2022 05:31:31 +0000 (UTC) X-FDA: 79016883582.29.A90C7C2 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by imf20.hostedemail.com (Postfix) with ESMTP id B95E01C0003 for ; Tue, 11 Jan 2022 05:31:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1641879090; x=1673415090; h=date:from:to:cc:subject:message-id:mime-version; bh=FcIUzENo4eK8ZCUNIyMJZB3SuRNm9f8lt6mO9gF63DA=; b=MRIqgwFpy5h+V46nNaqx8G3XWAgTYbdJbj7mAAWtiUWvCr0ghHtM2x/Y 10/EY13WwDIgLZDb8ldRVL+zNTW1NYtz0H+fIwCpfDolGxBZks9JGtyHj psrk0xcEX52f65ykgtaHTHj+SWY/TSZLORY1Cy9Gjyjo1BKw91ZM7k/EB eVwKDIFQY4ewe0zOw3VajEgOxfLHLyRKPyzpGoYsX2yLHbBk466htKOcf 4NBN7QWNyhnhj1vma3B3olJx91SJoxTl2wCctlJD+oeT7bESqypdY/gcq KEcDUXVMzatRZ3EFpdIhNyyJ4s6SpwjLnOQqtlCSijK4Q72mshc1V5jib A==; X-IronPort-AV: E=McAfee;i="6200,9189,10223"; a="267740214" X-IronPort-AV: E=Sophos;i="5.88,279,1635231600"; d="scan'208";a="267740214" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jan 2022 21:31:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,279,1635231600"; d="scan'208";a="622941961" Received: from lkp-server01.sh.intel.com (HELO 276f1b88eecb) ([10.239.97.150]) by orsmga004.jf.intel.com with ESMTP; 10 Jan 2022 21:31:26 -0800 Received: from kbuild by 276f1b88eecb with local (Exim 4.92) (envelope-from ) id 1n79kk-0004Pc-4N; Tue, 11 Jan 2022 05:31:26 +0000 Date: Tue, 11 Jan 2022 13:31:10 +0800 From: kernel test robot To: Helge Deller Cc: kbuild-all@lists.01.org, Linux Memory Management List Subject: [linux-next:master 11629/11918] include/linux/compiler_types.h:140:41: error: 'struct thread_info' has no member named 'cpu' Message-ID: <202201111359.ksVeGAFk-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Server: rspam10 X-Rspamd-Queue-Id: B95E01C0003 X-Stat-Signature: jhdg3tshgwegojnipxmobsyn5z7mo4mi Authentication-Results: imf20.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=MRIqgwFp; dmarc=pass (policy=none) header.from=intel.com; spf=none (imf20.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.88) smtp.mailfrom=lkp@intel.com X-HE-Tag: 1641879090-778817 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 57c149e506d5bec1b845ad1a8a631063fcac1f6e commit: d5b2ffc1d66c8a5cce4cdda900b06d2bef680d81 [11629/11918] parisc: Enable TOC (transfer of contents) feature unconditionally config: parisc-buildonly-randconfig-r001-20220111 (https://download.01.org/0day-ci/archive/20220111/202201111359.ksVeGAFk-lkp@intel.com/config) compiler: hppa-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 # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=d5b2ffc1d66c8a5cce4cdda900b06d2bef680d81 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout d5b2ffc1d66c8a5cce4cdda900b06d2bef680d81 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=parisc prepare 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 arch/parisc/kernel/asm-offsets.c:22: arch/parisc/kernel/asm-offsets.c: In function 'main': >> include/linux/compiler_types.h:140:41: error: 'struct thread_info' has no member named 'cpu' 140 | #define __compiler_offsetof(a, b) __builtin_offsetof(a, b) | ^~~~~~~~~~~~~~~~~~ include/linux/kbuild.h:6:69: note: in definition of macro 'DEFINE' 6 | asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val)) | ^~~ include/linux/stddef.h:17:33: note: in expansion of macro '__compiler_offsetof' 17 | #define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER) | ^~~~~~~~~~~~~~~~~~~ arch/parisc/kernel/asm-offsets.c:39:29: note: in expansion of macro 'offsetof' 39 | DEFINE(TASK_TI_CPU, offsetof(struct task_struct, thread_info.cpu)); | ^~~~~~~~ make[2]: *** [scripts/Makefile.build:121: arch/parisc/kernel/asm-offsets.s] Error 1 make[2]: Target '__build' not remade because of errors. make[1]: *** [Makefile:1197: prepare0] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:219: __sub-make] Error 2 make: Target 'prepare' not remade because of errors. vim +140 include/linux/compiler_types.h 71391bdd2e9aab Xiaozhou Liu 2018-12-14 139 71391bdd2e9aab Xiaozhou Liu 2018-12-14 @140 #define __compiler_offsetof(a, b) __builtin_offsetof(a, b) 71391bdd2e9aab Xiaozhou Liu 2018-12-14 141 :::::: The code at line 140 was first introduced by commit :::::: 71391bdd2e9aab188f86bf1ecd9b232531ec7eea include/linux/compiler_types.h: don't pollute userspace with macro definitions :::::: TO: Xiaozhou Liu :::::: CC: Miguel Ojeda --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org