From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0250D6131 for ; Tue, 30 Aug 2022 23:11:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1661901099; x=1693437099; h=date:from:to:cc:subject:message-id:mime-version; bh=ffrZBgQF7S1zzrjei1u08INkL/XLWtnrWSoX3H2iz20=; b=VtRr/HjiHQb4nRmtiIrNdnBpiMk4u9VHbyPj4i7aocbvLaZsltEZvVs0 jecHHIrFtHK4Ubotf6S+CdVjZ41IJqgzbGbkGjKfizZQFON0gYPJ/UWpc VMGnROiyyPRWu8ub40D5d9ZlNK6w7FcgrmblXkN5HOiUcXqoZrHQIZKdp MSrbku3ZFk92A+Y7kulQvqJUWKikBECHmiyhwvJni/8jq3wNpZNb8TjVG tREF7g0f3o22wsWL3Hq+z/nzcLfKoh6qHTpMKNGOAJZGIlVwVH+Vq/ujv kgRSwSMI2BtSKSflTACoTnd4+QLMqyufcRaJUQMCBXfF9IUmQ+Q0YKVra g==; X-IronPort-AV: E=McAfee;i="6500,9779,10455"; a="296606343" X-IronPort-AV: E=Sophos;i="5.93,276,1654585200"; d="scan'208";a="296606343" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Aug 2022 16:11:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,276,1654585200"; d="scan'208";a="940228965" Received: from lkp-server02.sh.intel.com (HELO 77b6d4e16fc5) ([10.239.97.151]) by fmsmga005.fm.intel.com with ESMTP; 30 Aug 2022 16:11:36 -0700 Received: from kbuild by 77b6d4e16fc5 with local (Exim 4.96) (envelope-from ) id 1oTAON-0000iw-3C; Tue, 30 Aug 2022 23:11:35 +0000 Date: Wed, 31 Aug 2022 07:10:39 +0800 From: kernel test robot To: Arnd Bergmann Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Masahiro Yamada , Alex Shi , Nick Desaulniers , Miguel Ojeda , Nathan Chancellor Subject: arch/powerpc/math-emu/math_efp.c:927:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int Message-ID: <202208310702.3iydJVg0-lkp@intel.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: dcf8e5633e2e69ad60b730ab5905608b756a032f commit: e8c07082a810fbb9db303a2b66b66b8d7e588b53 Kbuild: move to -std=gnu11 date: 6 months ago config: powerpc-tqm8560_defconfig (https://download.01.org/0day-ci/archive/20220831/202208310702.3iydJVg0-lkp@intel.com/config) compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project c7df82e4693c19e3fd2e25c83eb04d9deb7b7b59) 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 # install powerpc cross compiling tool for clang build # apt-get install binutils-powerpc-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e8c07082a810fbb9db303a2b66b66b8d7e588b53 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout e8c07082a810fbb9db303a2b66b66b8d7e588b53 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=powerpc SHELL=/bin/bash arch/powerpc/math-emu/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): >> arch/powerpc/math-emu/math_efp.c:927:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] module_init(spe_mathemu_init); ^ int arch/powerpc/math-emu/math_efp.c:927:13: error: a parameter list without types is only allowed in a function definition module_init(spe_mathemu_init); ^ 2 errors generated. vim +/int +927 arch/powerpc/math-emu/math_efp.c ac6f120369ffe6 Liu Yu 2011-01-25 926 ac6f120369ffe6 Liu Yu 2011-01-25 @927 module_init(spe_mathemu_init); :::::: The code at line 927 was first introduced by commit :::::: ac6f120369ffe66058518fabf90cdd53b2503a82 powerpc/85xx: Workaroudn e500 CPU erratum A005 :::::: TO: Liu Yu :::::: CC: Kumar Gala -- 0-DAY CI Kernel Test Service https://01.org/lkp