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 0FA3518C15 for ; Mon, 12 Jun 2023 21:51:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686606679; x=1718142679; h=date:from:to:cc:subject:message-id:mime-version; bh=tAm0oNAnOTUnUK8H6vEWB8yBot7oP8tsz4YBBTzXU9s=; b=Ogrz6UKikq6V+3+zujHNxIu+xncAthwbQXgC/JmgkR6Yd3VFn250ugcA n8mLH+HqwajBqDNZLB3udhiN0KARaSioCG7xaoLa4jDF8R9pu/OJbDdJr ZNkjtPF/3JhUYNi2KMRdlzQRxuJ+GYS4H8GusLXWbr7//3hp3b8EOs5j7 QbklvZaSj3irYJf6TNpKGKYihdn6WGE6RpjtSDmy2A+66Uv7F/oDvZUNf qgQY+e6zgucxGzHAvrZU6/9DoVPP3DMrOG+tiFYH06GPWgr/U0DWeBCqh o8uJkBmtxP/enY5PwK2KmK/CHw/a0SqkeF+7Zh3LdtaeBaEPIuwtaJ3Nd Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10739"; a="361533418" X-IronPort-AV: E=Sophos;i="6.00,236,1681196400"; d="scan'208";a="361533418" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jun 2023 14:51:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10739"; a="801181981" X-IronPort-AV: E=Sophos;i="6.00,236,1681196400"; d="scan'208";a="801181981" Received: from lkp-server01.sh.intel.com (HELO 211f47bdb1cb) ([10.239.97.150]) by FMSMGA003.fm.intel.com with ESMTP; 12 Jun 2023 14:51:17 -0700 Received: from kbuild by 211f47bdb1cb with local (Exim 4.96) (envelope-from ) id 1q8pRU-0000m0-0w; Mon, 12 Jun 2023 21:51:16 +0000 Date: Tue, 13 Jun 2023 05:50:51 +0800 From: kernel test robot To: cros-kernel-buildreports@googlegroups.com Cc: oe-kbuild-all@lists.linux.dev Subject: [android-common:android11-5.4 6125/26440] drivers/mmc/core/crypto.c:14:6: warning: no previous prototype for function 'mmc_crypto_setup_queue' Message-ID: <202306130548.qipeDeJf-lkp@intel.com> Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Satya, FYI, the error/warning still remains. tree: https://android.googlesource.com/kernel/common android11-5.4 head: 431c9e5d6d228e3fcbf1e3a8893c802827ed7603 commit: 555cf12eb672727979bc7b7840c7503f3de27220 [6125/26440] ANDROID: mmc: MMC crypto API config: x86_64-randconfig-a005-20230612 (https://download.01.org/0day-ci/archive/20230613/202306130548.qipeDeJf-lkp@intel.com/config) compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project.git 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a) reproduce (this is a W=1 build): mkdir -p ~/bin wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git remote add android-common https://android.googlesource.com/kernel/common git fetch --no-tags android-common android11-5.4 git checkout 555cf12eb672727979bc7b7840c7503f3de27220 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=x86_64 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/mmc/core/ If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202306130548.qipeDeJf-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/mmc/core/crypto.c:14:6: warning: no previous prototype for function 'mmc_crypto_setup_queue' [-Wmissing-prototypes] void mmc_crypto_setup_queue(struct mmc_host *host, struct request_queue *q) ^ drivers/mmc/core/crypto.c:14:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void mmc_crypto_setup_queue(struct mmc_host *host, struct request_queue *q) ^ static >> drivers/mmc/core/crypto.c:21:6: warning: no previous prototype for function 'mmc_crypto_free_host' [-Wmissing-prototypes] void mmc_crypto_free_host(struct mmc_host *host) ^ drivers/mmc/core/crypto.c:21:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void mmc_crypto_free_host(struct mmc_host *host) ^ static >> drivers/mmc/core/crypto.c:26:6: warning: no previous prototype for function 'mmc_crypto_prepare_req' [-Wmissing-prototypes] void mmc_crypto_prepare_req(struct mmc_queue_req *mqrq) ^ drivers/mmc/core/crypto.c:26:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void mmc_crypto_prepare_req(struct mmc_queue_req *mqrq) ^ static 3 warnings generated. vim +/mmc_crypto_setup_queue +14 drivers/mmc/core/crypto.c 13 > 14 void mmc_crypto_setup_queue(struct mmc_host *host, struct request_queue *q) 15 { 16 if (host->caps2 & MMC_CAP2_CRYPTO) 17 q->ksm = host->ksm; 18 } 19 EXPORT_SYMBOL_GPL(mmc_crypto_setup_queue); 20 > 21 void mmc_crypto_free_host(struct mmc_host *host) 22 { 23 keyslot_manager_destroy(host->ksm); 24 } 25 > 26 void mmc_crypto_prepare_req(struct mmc_queue_req *mqrq) -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki