From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) (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 86AAE1FC8 for ; Wed, 16 Feb 2022 04:51:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644987086; x=1676523086; h=date:from:to:cc:subject:message-id:mime-version; bh=sh8iut/RjeH+KtXj0mEpLJXoMlqNnx0uLaF4osrGmbk=; b=kwyiRPVkfIhUHe5fb4rvNLmhTaWu1MGm+uNC0QsuoLRdGvaJDCFe10cu b5smO5knc1kKLj2vSTEa1hDoh8X6BR3Stz5wJMkXO6eLnWngLuxBVligh DOrL5c6JIblAaDS1BTOTysITa+i+fQyaxrh8GnzpgV2Utk2c3ajG4Etyy SUd6+kssFDgNOcfobE8vf5MAdNqDiV3AdzzVe4FfsQyBmgEsuDaTtsdX7 bfE1965rKR6aSPzj/i63L3RUsztN2HC1RcCNkMwSvU9ISOnuphBIYrLrb 8Lurf0LOJTfU5JD+xNCgFycS6LCoER04zx/RLibcFCK0iTbiiy9IiuwOk g==; X-IronPort-AV: E=McAfee;i="6200,9189,10259"; a="313797360" X-IronPort-AV: E=Sophos;i="5.88,371,1635231600"; d="scan'208";a="313797360" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 20:51:25 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,371,1635231600"; d="scan'208";a="681343272" Received: from lkp-server01.sh.intel.com (HELO d95dc2dabeb1) ([10.239.97.150]) by fmsmga001.fm.intel.com with ESMTP; 15 Feb 2022 20:51:24 -0800 Received: from kbuild by d95dc2dabeb1 with local (Exim 4.92) (envelope-from ) id 1nKCHj-000AQ4-P7; Wed, 16 Feb 2022 04:51:23 +0000 Date: Wed, 16 Feb 2022 12:50:28 +0800 From: kernel test robot To: Hector Martin Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, GNU/Weeb Mailing List , linux-kernel@vger.kernel.org Subject: [ammarfaizi2-block:axboe/linux-block/m1-test 340/382] include/linux/soc/apple/rtkit.h:223:5: warning: no previous prototype for function 'apple_rtkit_poll' Message-ID: <202202161241.peuSiTA3-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 User-Agent: Mutt/1.10.1 (2018-07-13) tree: https://github.com/ammarfaizi2/linux-block axboe/linux-block/m1-test head: 5adfbb595194191bad98c47447ddbee7d3b60b8f commit: 11c140423f34e589a6390d378267811426f82984 [340/382] soc: apple: rtkit: Add recv_message_early callback and apple_rtkit_poll config: arm64-randconfig-r003-20220216 (https://download.01.org/0day-ci/archive/20220216/202202161241.peuSiTA3-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 0e628a783b935c70c80815db6c061ec84f884af5) 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/11c140423f34e589a6390d378267811426f82984 git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block axboe/linux-block/m1-test git checkout 11c140423f34e589a6390d378267811426f82984 # 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 drivers/nvme/host/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): In file included from drivers/nvme/host/apple.c:32: >> include/linux/soc/apple/rtkit.h:223:5: warning: no previous prototype for function 'apple_rtkit_poll' [-Wmissing-prototypes] int apple_rtkit_poll(struct apple_rtkit *rtk) ^ include/linux/soc/apple/rtkit.h:223:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int apple_rtkit_poll(struct apple_rtkit *rtk) ^ static 1 warning generated. vim +/apple_rtkit_poll +223 include/linux/soc/apple/rtkit.h 222 > 223 int apple_rtkit_poll(struct apple_rtkit *rtk) 224 { 225 return -ENODEV; 226 } 227 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org