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 55892C433F5 for ; Mon, 18 Apr 2022 11:15:30 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 9118C6B00A6; Mon, 18 Apr 2022 07:15:29 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 89A958D000F; Mon, 18 Apr 2022 07:15:29 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 73AB08D000E; Mon, 18 Apr 2022 07:15:29 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (relay.hostedemail.com [64.99.140.26]) by kanga.kvack.org (Postfix) with ESMTP id 600AF6B00A6 for ; Mon, 18 Apr 2022 07:15:29 -0400 (EDT) Received: from smtpin23.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 27855243A9 for ; Mon, 18 Apr 2022 11:15:29 +0000 (UTC) X-FDA: 79369743978.23.580480D Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by imf21.hostedemail.com (Postfix) with ESMTP id 92BE21C0004 for ; Mon, 18 Apr 2022 11:15:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1650280527; x=1681816527; h=date:from:to:cc:subject:message-id:mime-version; bh=iwYeDUipsL3WkSiQx0BhM9s9MmnWhBi5t77mWD8jF44=; b=X43pGkX+xT9vI/8gx++5i7k418RJmchCa5Pb05Rb229/oUH4nHPu/b/L NmsZdmpj5cMkJZ8/XcFhWkVyAcB8dkGCQtHr8Goj58aW07x006zw9q9OA LKPXDVcZTawO+ClJcnxv8gMY2QNoRw37aqI5yTiGE0dOFuRS5vlRYcIvy GVdLmrWHcfG3R8WUfNcYuJYn8iRYGtMRBI+HmUDTi8DP71OLYr8uk9jVk 5wWwHdsxCtuTGlHwE++xr0yrFAU9eXMJkVGu8ED2WXx0jxUE1pM8jf8RI TcDAGHQosZO3AqTWj8GulAvbR5wpXNhCMaTajfAohhz2P7MRY0QlaAYYD A==; X-IronPort-AV: E=McAfee;i="6400,9594,10320"; a="244081867" X-IronPort-AV: E=Sophos;i="5.90,269,1643702400"; d="scan'208";a="244081867" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Apr 2022 04:15:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,269,1643702400"; d="scan'208";a="509708570" Received: from lkp-server01.sh.intel.com (HELO 3abc53900bec) ([10.239.97.150]) by orsmga003.jf.intel.com with ESMTP; 18 Apr 2022 04:15:23 -0700 Received: from kbuild by 3abc53900bec with local (Exim 4.95) (envelope-from ) id 1ngPLn-0004Zf-2T; Mon, 18 Apr 2022 11:15:23 +0000 Date: Mon, 18 Apr 2022 19:15:02 +0800 From: kernel test robot To: Arnd Bergmann Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, Linux Memory Management List Subject: [linux-next:master 1112/4328] arch/arm/mach-versatile/versatile.c:56:14: warning: no previous prototype for function 'mmc_status' Message-ID: <202204181931.klAC6fWo-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) X-Stat-Signature: texfh3yg4y1cacckcfncxjjrn6y9sn5c X-Rspam-User: Authentication-Results: imf21.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=X43pGkX+; dmarc=pass (policy=none) header.from=intel.com; spf=none (imf21.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.151) smtp.mailfrom=lkp@intel.com X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: 92BE21C0004 X-HE-Tag: 1650280527-493193 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: Hi Arnd, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 40354149f4d738dc3492d9998e45b3f02950369a commit: d7445676e86900f8dc363825033ff62416c216e0 [1112/4328] ARM: versatile: move integrator/realview/vexpress to versatile config: arm-versatile_defconfig (https://download.01.org/0day-ci/archive/20220418/202204181931.klAC6fWo-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project b27430f9f46b88bcd54d992debc8d72e131e1bd0) 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 arm cross compiling tool for clang build # apt-get install binutils-arm-linux-gnueabi # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=d7445676e86900f8dc363825033ff62416c216e0 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 d7445676e86900f8dc363825033ff62416c216e0 # 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=arm SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> arch/arm/mach-versatile/versatile.c:56:14: warning: no previous prototype for function 'mmc_status' [-Wmissing-prototypes] unsigned int mmc_status(struct device *dev) ^ arch/arm/mach-versatile/versatile.c:56:1: note: declare 'static' if the function is not intended to be used outside of this translation unit unsigned int mmc_status(struct device *dev) ^ static 1 warning generated. vim +/mmc_status +56 arch/arm/mach-versatile/versatile.c a70967892111934 arch/arm/mach-versatile/versatile_dt.c Rob Herring 2015-12-08 55 a70967892111934 arch/arm/mach-versatile/versatile_dt.c Rob Herring 2015-12-08 @56 unsigned int mmc_status(struct device *dev) a70967892111934 arch/arm/mach-versatile/versatile_dt.c Rob Herring 2015-12-08 57 { a70967892111934 arch/arm/mach-versatile/versatile_dt.c Rob Herring 2015-12-08 58 struct amba_device *adev = container_of(dev, struct amba_device, dev); a70967892111934 arch/arm/mach-versatile/versatile_dt.c Rob Herring 2015-12-08 59 u32 mask; a70967892111934 arch/arm/mach-versatile/versatile_dt.c Rob Herring 2015-12-08 60 a70967892111934 arch/arm/mach-versatile/versatile_dt.c Rob Herring 2015-12-08 61 if (adev->res.start == VERSATILE_MMCI0_BASE) a70967892111934 arch/arm/mach-versatile/versatile_dt.c Rob Herring 2015-12-08 62 mask = 1; a70967892111934 arch/arm/mach-versatile/versatile_dt.c Rob Herring 2015-12-08 63 else a70967892111934 arch/arm/mach-versatile/versatile_dt.c Rob Herring 2015-12-08 64 mask = 2; a70967892111934 arch/arm/mach-versatile/versatile_dt.c Rob Herring 2015-12-08 65 a70967892111934 arch/arm/mach-versatile/versatile_dt.c Rob Herring 2015-12-08 66 return readl(versatile_sys_base + VERSATILE_SYS_MCI_OFFSET) & mask; a70967892111934 arch/arm/mach-versatile/versatile_dt.c Rob Herring 2015-12-08 67 } a70967892111934 arch/arm/mach-versatile/versatile_dt.c Rob Herring 2015-12-08 68 :::::: The code at line 56 was first introduced by commit :::::: a70967892111934e292485ce84f1bab38cc55380 ARM: versatile: merge mach code into a single file :::::: TO: Rob Herring :::::: CC: Arnd Bergmann -- 0-DAY CI Kernel Test Service https://01.org/lkp