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 D3159C54EE9 for ; Thu, 8 Sep 2022 19:37:33 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 77EA08D0003; Thu, 8 Sep 2022 15:37:33 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 72E856B0073; Thu, 8 Sep 2022 15:37:33 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5A8618D0003; Thu, 8 Sep 2022 15:37:33 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 4C5F26B0072 for ; Thu, 8 Sep 2022 15:37:33 -0400 (EDT) Received: from smtpin07.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 2201E1212C4 for ; Thu, 8 Sep 2022 19:37:33 +0000 (UTC) X-FDA: 79889927586.07.6E14F35 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by imf11.hostedemail.com (Postfix) with ESMTP id 094CB40077 for ; Thu, 8 Sep 2022 19:37:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1662665852; x=1694201852; h=date:from:to:cc:subject:message-id:mime-version; bh=Rznazf26ML4QoE3V0dodvHkodJfXcQbh8hyeQBZCcvQ=; b=l/unuxM4r0qSMzfcEAi+WO/HwC2EuxejLhBY4T2LtGlNm6bOozYNZd7p ckWv5GAUqjCTxLM3NedFSX+t46PjbqdhI4ScCKZHDgr8CCZiSNbmfwSdx g9ksDZJuMpE80bjIxvMXKB4ZfXJeSDQeH5c8xhl+Oz00HBtWEkFLn/H7X PLzrFm1H93wSWokQJVzNJaH/EXAuZEisx4F5Vh4m/y219URCkrG2+ngtO lSXw4fBuAtV2D2+D886DYwPqhGj3cMVqum/TPibE6bjbi+dGF/7W7K9EU JUxnVhG3wlOQWS3n1Znyzl+swRmphAs4AEGMPR3+H/HckKobmTecwYAr0 w==; X-IronPort-AV: E=McAfee;i="6500,9779,10464"; a="280331751" X-IronPort-AV: E=Sophos;i="5.93,300,1654585200"; d="scan'208";a="280331751" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Sep 2022 12:37:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,300,1654585200"; d="scan'208";a="566077023" Received: from lkp-server02.sh.intel.com (HELO b2938d2e5c5a) ([10.239.97.151]) by orsmga003.jf.intel.com with ESMTP; 08 Sep 2022 12:37:28 -0700 Received: from kbuild by b2938d2e5c5a with local (Exim 4.96) (envelope-from ) id 1oWNL5-0000Gj-16; Thu, 08 Sep 2022 19:37:27 +0000 Date: Fri, 9 Sep 2022 03:36:39 +0800 From: kernel test robot To: Christophe Leroy Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, Linux Memory Management List , Michael Ellerman , Nathan Chancellor Subject: [linux-next:master 4574/6188] arch/powerpc/math-emu/fre.c:6:5: warning: no previous prototype for function 'fre' Message-ID: <202209090343.JPAFJt74-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline ARC-Authentication-Results: i=1; imf11.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b="l/unuxM4"; spf=pass (imf11.hostedemail.com: domain of lkp@intel.com designates 134.134.136.126 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1662665852; a=rsa-sha256; cv=none; b=eu4cnoyDFFvd04Ownexi+cz1wo8zPvvt5QuO1ihQ6WGX6Tiel+MM+EMee5nV1AMaRj+kLW XIjkOwJpTJoTlP052a4dKw04wDdV7tEdUGY49XhMNdEWaAx2Pj2wMJXNPLP08bBwIxkEWh aNInL+kPi/7O4bDPOw0ET7JT8nzYE1g= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1662665852; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=YY+YOW0GIL0fLduPimB5gz7yYzEr0GoxOUrxxBDTNuk=; b=2Iu3hpiT++Qdw61ZnWzGEvlU2vikM8eM7MGQBj9kElhkasJ7WlC3NWwmYT3h5HwyR29YEM GrBceaIvRFCJ6u3b1rZg6jFCE9JHlyK95k7b9lTuNe4Xyfy13yYAvgkhZgGXo1ZNWT/KQp L+kayPW/bp4nLbL31dhvHrP3/k8hfhk= X-Rspamd-Queue-Id: 094CB40077 X-Rspam-User: Authentication-Results: imf11.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b="l/unuxM4"; spf=pass (imf11.hostedemail.com: domain of lkp@intel.com designates 134.134.136.126 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-Rspamd-Server: rspam04 X-Stat-Signature: 8heqi4u8fxh3toc4o8ijf5y733b6w7po X-HE-Tag: 1662665851-387148 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: 47c191411b68a771261be3dc0bd6f68394cef358 commit: 7245fc5bb7a966852d5bd7779d1f5855530b461a [4574/6188] powerpc/math-emu: Remove -w build flag and fix warnings config: powerpc-randconfig-r021-20220907 (https://download.01.org/0day-ci/archive/20220909/202209090343.JPAFJt74-lkp@intel.com/config) compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 1546df49f5a6d09df78f569e4137ddb365a3e827) 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/next/linux-next.git/commit/?id=7245fc5bb7a966852d5bd7779d1f5855530b461a 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 7245fc5bb7a966852d5bd7779d1f5855530b461a # 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 warnings (new ones prefixed by >>): >> arch/powerpc/math-emu/fre.c:6:5: warning: no previous prototype for function 'fre' [-Wmissing-prototypes] int fre(void *frD, void *frB) ^ arch/powerpc/math-emu/fre.c:6:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int fre(void *frD, void *frB) ^ static 1 warning generated. -- >> arch/powerpc/math-emu/fsqrt.c:11:1: warning: no previous prototype for function 'fsqrt' [-Wmissing-prototypes] fsqrt(void *frD, void *frB) ^ arch/powerpc/math-emu/fsqrt.c:10:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int ^ static 1 warning generated. -- >> arch/powerpc/math-emu/fsqrts.c:12:1: warning: no previous prototype for function 'fsqrts' [-Wmissing-prototypes] fsqrts(void *frD, void *frB) ^ arch/powerpc/math-emu/fsqrts.c:11:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int ^ static 1 warning generated. -- >> arch/powerpc/math-emu/frsqrtes.c:6:5: warning: no previous prototype for function 'frsqrtes' [-Wmissing-prototypes] int frsqrtes(void *frD, void *frB) ^ arch/powerpc/math-emu/frsqrtes.c:6:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int frsqrtes(void *frD, void *frB) ^ static 1 warning generated. -- >> arch/powerpc/math-emu/mtfsf.c:10:1: warning: no previous prototype for function 'mtfsf' [-Wmissing-prototypes] mtfsf(unsigned int FM, u32 *frB) ^ arch/powerpc/math-emu/mtfsf.c:9:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int ^ static 1 warning generated. -- >> arch/powerpc/math-emu/mtfsfi.c:10:1: warning: no previous prototype for function 'mtfsfi' [-Wmissing-prototypes] mtfsfi(unsigned int crfD, unsigned int IMM) ^ arch/powerpc/math-emu/mtfsfi.c:9:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int ^ static 1 warning generated. vim +/fre +6 arch/powerpc/math-emu/fre.c 04ae9001719c3f Benjamin Herrenschmidt 2013-06-09 5 04ae9001719c3f Benjamin Herrenschmidt 2013-06-09 @6 int fre(void *frD, void *frB) :::::: The code at line 6 was first introduced by commit :::::: 04ae9001719c3f0012d239a7c5aa4136f6b6541d powerpc/math-emu: Fix decoding of some instructions :::::: TO: Benjamin Herrenschmidt :::::: CC: Benjamin Herrenschmidt -- 0-DAY CI Kernel Test Service https://01.org/lkp