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=-3.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by gnuweeb.org (Postfix) with ESMTPS id 714F47E2BC for ; Tue, 22 Mar 2022 16:57:28 +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=m3cJN2dN; 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=1647968248; x=1679504248; h=date:from:to:cc:subject:message-id:mime-version; bh=egWq09vSBflQS3iMEI+3yAMp3wMbpLCFyKpxXlRCRPQ=; b=m3cJN2dNFk72Qo+szK1uU4EDH3ABp/m9cyR4DUQjRTjEY0Ze/XG4A1aC J6irjyYrdEwlg6RQsZ2UUHjCZy1Q8IjSNI0TFqUriTqdd+ggOcT70HuYJ U/EQIcJg3xUQtGAJlFyxQZJ6aYhexkwrTtOnaaIWCT/N+5ALUUBkVx6WI e1TWEzwHFG7FcO9o0OIqJJr5ogzTWEql4DFGg34i6lKs5+VfJ696/RIxY qFbheU6OCMn0tuli2EAO1In7Bzd9s6foeGT3PTolnY+9g7Sdf9bmsEDLn nl38NAjyn1VPPxldgaVniaBYxQ6nA+y39O9iILtYpZsuZD770MXJwvcHg w==; X-IronPort-AV: E=McAfee;i="6200,9189,10294"; a="344303033" X-IronPort-AV: E=Sophos;i="5.90,202,1643702400"; d="scan'208";a="344303033" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Mar 2022 09:57:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,202,1643702400"; d="scan'208";a="515420690" Received: from lkp-server02.sh.intel.com (HELO 89b41b6ae01c) ([10.239.97.151]) by orsmga002.jf.intel.com with ESMTP; 22 Mar 2022 09:57:25 -0700 Received: from kbuild by 89b41b6ae01c with local (Exim 4.92) (envelope-from ) id 1nWhoy-000J1H-Tr; Tue, 22 Mar 2022 16:57:24 +0000 Date: Wed, 23 Mar 2022 00:57:11 +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, Alistair Delva Subject: [ammarfaizi2-block:google/android/kernel/common/android-trusty-5.4 1704/6879] drivers/scsi/ufs/ufshcd-crypto.c:250:26: warning: no previous prototype for function 'ufshcd_blk_crypto_mode_num_for_alg_dusize' Message-ID: <202203230002.OizN3iAm-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: Hi Satya, FYI, the error/warning still remains. tree: https://github.com/ammarfaizi2/linux-block google/android/kernel/common/android-trusty-5.4 head: d556bac5a4d65c759ce3c5a7529aef568f05f650 commit: b7b3af961465d23a733bb44d4a49bb78d4d5b08f [1704/6879] BACKPORT: FROMLIST: Update Inline Encryption from v5 to v6 of patch series config: x86_64-randconfig-a006-20220321 (https://download.01.org/0day-ci/archive/20220323/202203230002.OizN3iAm-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 85e9b2687a13d1908aa86d1b89c5ce398a06cd39) 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/b7b3af961465d23a733bb44d4a49bb78d4d5b08f git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block google/android/kernel/common/android-trusty-5.4 git checkout b7b3af961465d23a733bb44d4a49bb78d4d5b08f # 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/power/supply/charger-manager.ko drivers/scsi/ufs/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/scsi/ufs/ufshcd-crypto.c:250:26: warning: no previous prototype for function 'ufshcd_blk_crypto_mode_num_for_alg_dusize' [-Wmissing-prototypes] enum blk_crypto_mode_num ufshcd_blk_crypto_mode_num_for_alg_dusize( ^ drivers/scsi/ufs/ufshcd-crypto.c:250:1: note: declare 'static' if the function is not intended to be used outside of this translation unit enum blk_crypto_mode_num ufshcd_blk_crypto_mode_num_for_alg_dusize( ^ static 1 warning generated. vim +/ufshcd_blk_crypto_mode_num_for_alg_dusize +250 drivers/scsi/ufs/ufshcd-crypto.c 249 > 250 enum blk_crypto_mode_num ufshcd_blk_crypto_mode_num_for_alg_dusize( 251 enum ufs_crypto_alg ufs_crypto_alg, 252 enum ufs_crypto_key_size key_size) 253 { 254 /* 255 * This is currently the only mode that UFS and blk-crypto both support. 256 */ 257 if (ufs_crypto_alg == UFS_CRYPTO_ALG_AES_XTS && 258 key_size == UFS_CRYPTO_KEY_SIZE_256) 259 return BLK_ENCRYPTION_MODE_AES_256_XTS; 260 261 return BLK_ENCRYPTION_MODE_INVALID; 262 } 263 -- 0-DAY CI Kernel Test Service https://01.org/lkp