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 mga17.intel.com (mga17.intel.com [192.55.52.151]) by gnuweeb.org (Postfix) with ESMTPS id 1980C7E6E3 for ; Wed, 23 Mar 2022 19:55:03 +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=FYKcocaj; 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=1648065303; x=1679601303; h=date:from:to:cc:subject:message-id:mime-version; bh=Mji/IWMMiADhaFHm+8S2xDl7FfNVOBT9IlCPZEx4HX0=; b=FYKcocajC/HlNbnZ9wW5nPzM8mLqZYrylfmk2kDpJeVhQvtMX5/43DlV +uZBsX3VSraiU0DR/fWNfbv6HZdEu+Z3F6UQQY7CE7LnmWFFSdsLQLB7l sDMj3bDiL4/QnTuwMttbRj5gGaCtEY/4yCmlsAyeihei6S/QhroqN6v7j PngHV+KnOMVfYEK0Efo13T1AZe1julRWxsvWskSH8poK6jZ4q6KkPuUc3 WeiZTXXsCgLr7OGcoUA5h8QyBVDFuB7/6vP02Vedas4H9YAU36/LXxWRA JJxGlZdaIk7zQQF5fa81PYYfmTFfz6jLZzYCwvtefFpVJe7oGW/+HI3Cw A==; X-IronPort-AV: E=McAfee;i="6200,9189,10295"; a="238816954" X-IronPort-AV: E=Sophos;i="5.90,204,1643702400"; d="scan'208";a="238816954" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Mar 2022 12:55:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,204,1643702400"; d="scan'208";a="544344040" Received: from lkp-server02.sh.intel.com (HELO 89b41b6ae01c) ([10.239.97.151]) by orsmga007.jf.intel.com with ESMTP; 23 Mar 2022 12:55:01 -0700 Received: from kbuild by 89b41b6ae01c with local (Exim 4.92) (envelope-from ) id 1nX74O-000KLe-Bo; Wed, 23 Mar 2022 19:55:00 +0000 Date: Thu, 24 Mar 2022 03:54:56 +0800 From: kernel test robot To: Palmer Dabbelt Cc: kbuild-all@lists.01.org, GNU/Weeb Mailing List , linux-kernel@vger.kernel.org Subject: [ammarfaizi2-block:palmer/linux/riscv-ftrace_mutex_fix 1/1] arch/riscv/include/asm/ftrace.h:90:38: error: expected identifier or '(' before numeric constant Message-ID: <202203240331.uw3pfRFi-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-ftrace_mutex_fix head: 013eaa62130cd541cb2e7bf58303c509298701a8 commit: 013eaa62130cd541cb2e7bf58303c509298701a8 [1/1] RISC-V: Don't check text_mutex during stop_machine config: riscv-randconfig-s032-20220323 (https://download.01.org/0day-ci/archive/20220324/202203240331.uw3pfRFi-lkp@intel.com/config) compiler: riscv64-linux-gcc (GCC) 11.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.4-dirty # https://github.com/ammarfaizi2/linux-block/commit/013eaa62130cd541cb2e7bf58303c509298701a8 git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block palmer/linux/riscv-ftrace_mutex_fix git checkout 013eaa62130cd541cb2e7bf58303c509298701a8 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=riscv SHELL=/bin/bash arch/riscv/kernel/ 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 include/linux/ftrace.h:22, from arch/riscv/kernel/ftrace.c:8: >> arch/riscv/include/asm/ftrace.h:90:38: error: expected identifier or '(' before numeric constant 90 | #define riscv_ftrace_in_stop_machine 0 | ^ arch/riscv/kernel/ftrace.c:14:5: note: in expansion of macro 'riscv_ftrace_in_stop_machine' 14 | int riscv_ftrace_in_stop_machine; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ vim +90 arch/riscv/include/asm/ftrace.h 88 89 #ifndef __ASSEMBLY__ > 90 #define riscv_ftrace_in_stop_machine 0 91 #endif 92 -- 0-DAY CI Kernel Test Service https://01.org/lkp