From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-3.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by gnuweeb.org (Postfix) with ESMTPS id 02B5D7E356 for ; Fri, 1 Apr 2022 14:55:17 +0000 (UTC) Authentication-Results: gnuweeb.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=CfBLdUxr; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1648824918; x=1680360918; h=date:from:to:cc:subject:message-id:mime-version; bh=sRq3aNuvvoADqxpwEnycoxwbNQ9AKtJA/e+GBeJ1okI=; b=CfBLdUxrWwR78C9rSnJWjihUOxwyZ7rf6OCF29XCHrQmH/6MmujUJ6/1 kruecB5LiX98ayQwuLLSdsTIOfz+PB84xvWu2SGESQIy7gGvRH+xa6Ig5 Q92Rk9h7/UGzfGAI2h+7Uh826Z7ajPkaVUsnPKNnQPP7Uq8+N19p4abc3 trv/hIKBp4UJQW8A59TFo3+JfPBUS4PJ01DYRN3HBBg9FiC1Qzl1DCfzI JUAXW2GsAt6yDDxq5CB6dz3YuP9XVElWdH0vCrNnY2NLS1kjc96Qx7rgN TM6Ws7/KjhgfspzzUgJslLw9TrJwxQcGUpAnsqObhRUkcbD0YCwbvs3zA w==; X-IronPort-AV: E=McAfee;i="6200,9189,10304"; a="258984267" X-IronPort-AV: E=Sophos;i="5.90,227,1643702400"; d="scan'208";a="258984267" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Apr 2022 07:55:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,227,1643702400"; d="scan'208";a="522799890" Received: from lkp-server02.sh.intel.com (HELO 3231c491b0e2) ([10.239.97.151]) by orsmga006.jf.intel.com with ESMTP; 01 Apr 2022 07:55:14 -0700 Received: from kbuild by 3231c491b0e2 with local (Exim 4.95) (envelope-from ) id 1naIgE-0001KK-4h; Fri, 01 Apr 2022 14:55:14 +0000 Date: Fri, 1 Apr 2022 22:54:55 +0800 From: kernel test robot To: Alistair Francis Cc: kbuild-all@lists.01.org, GNU/Weeb Mailing List , linux-kernel@vger.kernel.org, Palmer Dabbelt , Anup Patel , Guo Ren Subject: [ammarfaizi2-block:palmer/linux/riscv-asidlen 1/1] arch/riscv/mm/context.c:308:45: error: 'mm_context_t' has no member named 'id' Message-ID: <202204012242.MvKAyz37-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) List-Id: tree: https://github.com/ammarfaizi2/linux-block palmer/linux/riscv-asidlen head: bdfae0d4f28854d02d1f78fcb18b41d01ae32832 commit: bdfae0d4f28854d02d1f78fcb18b41d01ae32832 [1/1] riscv: Ensure only ASIDLEN is used for sfence.vma config: riscv-nommu_k210_defconfig (https://download.01.org/0day-ci/archive/20220401/202204012242.MvKAyz37-lkp@intel.com/config) compiler: riscv64-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://github.com/ammarfaizi2/linux-block/commit/bdfae0d4f28854d02d1f78fcb18b41d01ae32832 git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block palmer/linux/riscv-asidlen git checkout bdfae0d4f28854d02d1f78fcb18b41d01ae32832 # 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=riscv SHELL=/bin/bash arch/riscv/mm/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): arch/riscv/mm/context.c: In function 'get_mm_asid': >> arch/riscv/mm/context.c:308:45: error: 'mm_context_t' has no member named 'id' 308 | return atomic_long_read(&mm->context.id) & asid_mask; | ^ >> arch/riscv/mm/context.c:308:52: error: 'asid_mask' undeclared (first use in this function); did you mean 'pid_task'? 308 | return atomic_long_read(&mm->context.id) & asid_mask; | ^~~~~~~~~ | pid_task arch/riscv/mm/context.c:308:52: note: each undeclared identifier is reported only once for each function it appears in arch/riscv/mm/context.c:309:1: error: control reaches end of non-void function [-Werror=return-type] 309 | } | ^ cc1: some warnings being treated as errors vim +308 arch/riscv/mm/context.c 305 306 unsigned long get_mm_asid(struct mm_struct *mm) 307 { > 308 return atomic_long_read(&mm->context.id) & asid_mask; 309 } 310 -- 0-DAY CI Kernel Test Service https://01.org/lkp