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=-1.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by gnuweeb.org (Postfix) with ESMTPS id 539477E346 for ; Wed, 30 Mar 2022 14:12:09 +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=g7QLnHhR; 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=1648649529; x=1680185529; h=date:from:to:cc:subject:message-id:mime-version; bh=eLF+XXHUgT7NzuiiRHrlFPBMcUsMSvrfiAEVcwfcrFY=; b=g7QLnHhRHOG4nF2elIRELDDu7npPuprPWJxIHJ8+jOOkQvqcb6FXyAMv ptAs3nNiRSWPIZ1JBkNSjBn/XGxxXMmme+NxHe0cdPg1NHshzUrIjzPQe 6l5htwiz+VbJwa83y9sGuV0xKxC1LGgHTiL9Eb/NZZ1/fJHrG42UegjXN UAn64oROBpAfH/2UTxyCwla0x2QXPoCurdi75Ejo3WLIJvoHptOmlA+Ja d7TMJh6B+QlkMLY5H20vBJQoY3KCRLsEecavTSF4UoF8LvMFa+EKDM2WY qd3KoyaH/LGKGXUskf6Wl63D0igM/L+kHfVNh0iK6e0sQoQb3XKfzt4Su w==; X-IronPort-AV: E=McAfee;i="6200,9189,10301"; a="320250514" X-IronPort-AV: E=Sophos;i="5.90,222,1643702400"; d="scan'208";a="320250514" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Mar 2022 07:12:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,222,1643702400"; d="scan'208";a="719988992" Received: from lkp-server02.sh.intel.com (HELO 56431612eabd) ([10.239.97.151]) by orsmga005.jf.intel.com with ESMTP; 30 Mar 2022 07:12:06 -0700 Received: from kbuild by 56431612eabd with local (Exim 4.95) (envelope-from ) id 1nZZ3O-00003c-AA; Wed, 30 Mar 2022 14:12:06 +0000 Date: Wed, 30 Mar 2022 22:11:24 +0800 From: kernel test robot To: Catalin Marinas Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, GNU/Weeb Mailing List , linux-kernel@vger.kernel.org Subject: [ammarfaizi2-block:arm64/linux/devel/kmalloc-minalign 10/11] arch/arm64/kernel/cacheinfo.c:101:14: warning: no previous prototype for function 'arch_kmalloc_minalign' Message-ID: <202203302215.5KhCA08Y-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 arm64/linux/devel/kmalloc-minalign head: 2810d5be00a60d5996cd955c2485c17ef1e1e7af commit: 6c3838f40cf6a9b31bbb3d78059a81ca03fb2cfc [10/11] arm64: Enable dynamic kmalloc() minimum alignment config: arm64-randconfig-r005-20220330 (https://download.01.org/0day-ci/archive/20220330/202203302215.5KhCA08Y-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 0f6d9501cf49ce02937099350d08f20c4af86f3d) 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 arm64 cross compiling tool for clang build # apt-get install binutils-aarch64-linux-gnu # https://github.com/ammarfaizi2/linux-block/commit/6c3838f40cf6a9b31bbb3d78059a81ca03fb2cfc git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block arm64/linux/devel/kmalloc-minalign git checkout 6c3838f40cf6a9b31bbb3d78059a81ca03fb2cfc # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash arch/arm64/kernel/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> arch/arm64/kernel/cacheinfo.c:101:14: warning: no previous prototype for function 'arch_kmalloc_minalign' [-Wmissing-prototypes] unsigned int arch_kmalloc_minalign(void) ^ arch/arm64/kernel/cacheinfo.c:101:1: note: declare 'static' if the function is not intended to be used outside of this translation unit unsigned int arch_kmalloc_minalign(void) ^ static 1 warning generated. vim +/arch_kmalloc_minalign +101 arch/arm64/kernel/cacheinfo.c 100 > 101 unsigned int arch_kmalloc_minalign(void) -- 0-DAY CI Kernel Test Service https://01.org/lkp