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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D412CC433EF for ; Wed, 9 Feb 2022 02:41:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234244AbiBICls (ORCPT ); Tue, 8 Feb 2022 21:41:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242897AbiBIB1Z (ORCPT ); Tue, 8 Feb 2022 20:27:25 -0500 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6852CC061576 for ; Tue, 8 Feb 2022 17:27:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644370042; x=1675906042; h=date:from:to:cc:subject:message-id:mime-version; bh=NMyeiIsueqE8D5tiJQhqjy0Mj/1tI0AQal2caRNshgk=; b=KBhiocLONNQ6KmXBigLWNmrakzhlzrCu0EIgsr6ak46PyR4nnpha4WIp AJRrG6y+vk10D8sEfrMy2uMcMcHCjO/b9EyJKQv01AyOax2ffFOw/q2KM olf+XxGgWw3d0BxD0o4FC20KkkCNMuhOkyf+8RcAYGc+a8L09f2JMYh3B PLErCOxW0DZpQPqvjsgL2bVtrWS0xkDPlXyWZaEp+IIcXFZb8KJDnW39r rgW/GVRhOq9XHfpvowAnquNQb/HZX1tD2ewE/TIRXwh3tfmkROYYFuWEa L+lLr8rdoU7RahhL7fRAoWZwlKsyWFcbsdLzkM8z29tsO789o5YvVGGNy A==; X-IronPort-AV: E=McAfee;i="6200,9189,10252"; a="309838909" X-IronPort-AV: E=Sophos;i="5.88,354,1635231600"; d="scan'208";a="309838909" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Feb 2022 17:27:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,354,1635231600"; d="scan'208";a="701059444" Received: from lkp-server01.sh.intel.com (HELO d95dc2dabeb1) ([10.239.97.150]) by orsmga005.jf.intel.com with ESMTP; 08 Feb 2022 17:27:20 -0800 Received: from kbuild by d95dc2dabeb1 with local (Exim 4.92) (envelope-from ) id 1nHblP-00012f-E6; Wed, 09 Feb 2022 01:27:19 +0000 Date: Wed, 9 Feb 2022 09:26:21 +0800 From: kernel test robot To: Satya Tangirala Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, GNU/Weeb Mailing List , linux-kernel@vger.kernel.org, Eric Biggers Subject: [ammarfaizi2-block:google/android/kernel/common/android-4.19-stable 971/9999] drivers/mmc/core/crypto.c:14:6: warning: no previous prototype for function 'mmc_crypto_setup_queue' Message-ID: <202202090901.7ZCWAPk5-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) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org tree: https://github.com/ammarfaizi2/linux-block google/android/kernel/common/android-4.19-stable head: 69be2ccce366f9ef3eec5cd1c9b8bfb3e1c2d16d commit: eb54e7323628bf827eab028d14d8171f8dd6777e [971/9999] ANDROID: mmc: MMC crypto API config: x86_64-randconfig-a005 (https://download.01.org/0day-ci/archive/20220209/202202090901.7ZCWAPk5-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project e8bff9ae54a55b4dbfeb6ba55f723abbd81bf494) 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 # https://github.com/ammarfaizi2/linux-block/commit/eb54e7323628bf827eab028d14d8171f8dd6777e git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block google/android/kernel/common/android-4.19-stable git checkout eb54e7323628bf827eab028d14d8171f8dd6777e # 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=x86_64 SHELL=/bin/bash drivers/mmc/core/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot 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, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org