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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id D98DCC433EF for ; Tue, 21 Jun 2022 23:59:26 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 5DFDD8E0070; Tue, 21 Jun 2022 19:59:26 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 58FB08E006E; Tue, 21 Jun 2022 19:59:26 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 456C58E0070; Tue, 21 Jun 2022 19:59:26 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 31DC28E006E for ; Tue, 21 Jun 2022 19:59:26 -0400 (EDT) Received: from smtpin16.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 007EF20383 for ; Tue, 21 Jun 2022 23:59:25 +0000 (UTC) X-FDA: 79603912332.16.4BDDD1E Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by imf30.hostedemail.com (Postfix) with ESMTP id 3ED8F80012 for ; Tue, 21 Jun 2022 23:59:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655855964; x=1687391964; h=date:from:to:cc:subject:message-id:mime-version; bh=Vni8hgH78bSdnDugV7fSruBp4/0nuE8pJeNSqDpW48Q=; b=KTt7pPSQwmXEW74oC+2AMPMMG5CZBmQEnEoyL2tuEk5YVyqKok6GRu/z TSPOq8SxtrKonVKa6mljsM5dk8Xe+Mcq6MVhoOOvLUEAnWrVa1hlVu2Ny /rlGcceM7CHgFKlWZJ8OTdQe8Bo8GOtVTHofWAbOLaQcxg01m0QHiLOEK 5SiWrwyUbOCIg/nKflnjvyIajTaktkB8B6Afkhq7bqKO5U6DN98q9LFZP uEWRORcTNXvHd+XZBwUOYVevii9PSJGDgKAVYrFzNAGfLepnunFPk/Nd1 3/12C1wAfdJWHP/9Chrz2oPJlgEF5jSp0gD8MT/mD8OvHMm4kLtXpbgpV g==; X-IronPort-AV: E=McAfee;i="6400,9594,10385"; a="305718503" X-IronPort-AV: E=Sophos;i="5.92,210,1650956400"; d="scan'208";a="305718503" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jun 2022 16:59:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,210,1650956400"; d="scan'208";a="614941368" Received: from lkp-server02.sh.intel.com (HELO a67cc04a5eeb) ([10.239.97.151]) by orsmga008.jf.intel.com with ESMTP; 21 Jun 2022 16:59:19 -0700 Received: from kbuild by a67cc04a5eeb with local (Exim 4.95) (envelope-from ) id 1o3nmA-0000aJ-Ut; Tue, 21 Jun 2022 23:59:18 +0000 Date: Wed, 22 Jun 2022 07:58:45 +0800 From: kernel test robot To: Po-Wen Kao Cc: kbuild-all@lists.01.org, Linux Memory Management List , "Martin K. Petersen" , Stanley Chu Subject: [linux-next:master 3156/4834] drivers/ufs/host/ufs-mediatek.c:1284:15: error: implicit declaration of function 'ufshcd_system_suspend'; did you mean 'ufs_mtk_system_suspend'? Message-ID: <202206220736.sR4QzQcp-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1655855965; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=zLUBPH5jBYuR3HnkSe+YFdxhhbpGiKCgpLtzLhh+MXI=; b=2+tLfMXmRSnVLuSGhzwa5rG6URGwin22tF2S4z2DSIMiE+X4axbnazz20ayFuJ7ymEx74j xs2/LxDwqYF4k/4xSwrcnpZkTmX9QzDF+tEcxEIDeLKR0tc+cNnylfHvGDaXWmEFUpNkZD TqFAx5zuQffZXCifRcJW4qb/5Rx7URM= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1655855965; a=rsa-sha256; cv=none; b=7QRp96uQ3L0xsM3/3mPt040l3Tj1BZ4F7fF1d6a6CJ8B69j16a7b/QAlHoV5tBwVi/RfTq Khhtd+RsQ+NxFG3wheqRaz/V0ZwAU5gt4csQuXrg0pHMlz4gzj+yZBh5W1nxSJvwcSI7vQ Lb04VHbgcx7U1NOU2sG0MXj0XQ78f0k= ARC-Authentication-Results: i=1; imf30.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=KTt7pPSQ; spf=none (imf30.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.88) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-Stat-Signature: o4165j4i39doxhjpb99c3m55r6e7wmkp Authentication-Results: imf30.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=KTt7pPSQ; spf=none (imf30.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.88) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-Rspamd-Queue-Id: 3ED8F80012 X-Rspamd-Server: rspam02 X-Rspam-User: X-HE-Tag: 1655855964-39779 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 34d1d36073ea4d4c532e8c8345627a9702be799e commit: 3fd23b8dfb54d9b74eba6dfdd3225db3ac116785 [3156/4834] scsi: ufs: ufs-mediatek: Fix the timing of configuring device regulators config: arm64-randconfig-s031-20220622 (https://download.01.org/0day-ci/archive/20220622/202206220736.sR4QzQcp-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 11.3.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.4-31-g4880bd19-dirty # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=3fd23b8dfb54d9b74eba6dfdd3225db3ac116785 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout 3fd23b8dfb54d9b74eba6dfdd3225db3ac116785 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/ufs/host/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): drivers/ufs/host/ufs-mediatek.c:1279:5: warning: no previous prototype for 'ufs_mtk_system_suspend' [-Wmissing-prototypes] 1279 | int ufs_mtk_system_suspend(struct device *dev) | ^~~~~~~~~~~~~~~~~~~~~~ drivers/ufs/host/ufs-mediatek.c: In function 'ufs_mtk_system_suspend': >> drivers/ufs/host/ufs-mediatek.c:1284:15: error: implicit declaration of function 'ufshcd_system_suspend'; did you mean 'ufs_mtk_system_suspend'? [-Werror=implicit-function-declaration] 1284 | ret = ufshcd_system_suspend(dev); | ^~~~~~~~~~~~~~~~~~~~~ | ufs_mtk_system_suspend drivers/ufs/host/ufs-mediatek.c: At top level: drivers/ufs/host/ufs-mediatek.c:1293:5: warning: no previous prototype for 'ufs_mtk_system_resume' [-Wmissing-prototypes] 1293 | int ufs_mtk_system_resume(struct device *dev) | ^~~~~~~~~~~~~~~~~~~~~ drivers/ufs/host/ufs-mediatek.c: In function 'ufs_mtk_system_resume': >> drivers/ufs/host/ufs-mediatek.c:1299:16: error: implicit declaration of function 'ufshcd_system_resume'; did you mean 'ufs_mtk_system_resume'? [-Werror=implicit-function-declaration] 1299 | return ufshcd_system_resume(dev); | ^~~~~~~~~~~~~~~~~~~~ | ufs_mtk_system_resume drivers/ufs/host/ufs-mediatek.c: At top level: drivers/ufs/host/ufs-mediatek.c:1302:5: warning: no previous prototype for 'ufs_mtk_runtime_suspend' [-Wmissing-prototypes] 1302 | int ufs_mtk_runtime_suspend(struct device *dev) | ^~~~~~~~~~~~~~~~~~~~~~~ drivers/ufs/host/ufs-mediatek.c:1316:5: warning: no previous prototype for 'ufs_mtk_runtime_resume' [-Wmissing-prototypes] 1316 | int ufs_mtk_runtime_resume(struct device *dev) | ^~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +1284 drivers/ufs/host/ufs-mediatek.c 1278 > 1279 int ufs_mtk_system_suspend(struct device *dev) 1280 { 1281 struct ufs_hba *hba = dev_get_drvdata(dev); 1282 int ret; 1283 > 1284 ret = ufshcd_system_suspend(dev); 1285 if (ret) 1286 return ret; 1287 1288 ufs_mtk_vreg_set_lpm(hba, true); 1289 1290 return 0; 1291 } 1292 1293 int ufs_mtk_system_resume(struct device *dev) 1294 { 1295 struct ufs_hba *hba = dev_get_drvdata(dev); 1296 1297 ufs_mtk_vreg_set_lpm(hba, false); 1298 > 1299 return ufshcd_system_resume(dev); 1300 } 1301 -- 0-DAY CI Kernel Test Service https://01.org/lkp