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 D65B7C433F5 for ; Fri, 18 Mar 2022 11:29:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235791AbiCRLaw (ORCPT ); Fri, 18 Mar 2022 07:30:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235782AbiCRLar (ORCPT ); Fri, 18 Mar 2022 07:30:47 -0400 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD1FC1ED054 for ; Fri, 18 Mar 2022 04:29:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1647602968; x=1679138968; h=date:from:to:cc:subject:message-id:mime-version; bh=l1GuPZNsutuzZp94mQlMThNJ0vvVjvY7hDbdSgk3DOc=; b=MCtzuUY/X0PymDPU3AJJsJEjUaEiaphXOlnwTkauul7LqffPrwRevT/C ozVTaeZcZYUIIvFv1t2U4Jkbv5DnOcSAYsmc3+RC/gbcId0/almzJD30k 72eDgZP/pXKc3YWMOC0BaoZP7QhtXlgL7V+Bh4HSHZSzMGRpQXERXTn0x mk7MnIWk/OMXPyKoMgwy7G7Vk9ycfZhYboAMd/KpSFSHbynUahpm6IoeK XQj34r+4A7mo9LHnrFwbKvvSHrO8FIh+tHU/8vBI1fVCByp8Oa3SSRjvS FEsQZ2kR2RP6nmXZiynJEHfoc/T/58E9+IqLHQid5MFIQo/wl8pWtn2+K g==; X-IronPort-AV: E=McAfee;i="6200,9189,10289"; a="244573543" X-IronPort-AV: E=Sophos;i="5.90,192,1643702400"; d="scan'208";a="244573543" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Mar 2022 04:29:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,192,1643702400"; d="scan'208";a="541801519" Received: from lkp-server02.sh.intel.com (HELO 89b41b6ae01c) ([10.239.97.151]) by orsmga007.jf.intel.com with ESMTP; 18 Mar 2022 04:29:26 -0700 Received: from kbuild by 89b41b6ae01c with local (Exim 4.92) (envelope-from ) id 1nVAnO-000EiC-8c; Fri, 18 Mar 2022 11:29:26 +0000 Date: Fri, 18 Mar 2022 19:28:46 +0800 From: kernel test robot To: Ingo Molnar Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org Subject: [mingo-tip:master 1808/2335] arch/x86/entry/vdso/vdso32-setup.c:55:12: warning: no previous prototype for function 'sysenter_setup' Message-ID: <202203181924.OJ9XUwqG-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: git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git master head: 85293bf3fca6d85608cff1447ce3097583f15fab commit: 9b4a1c67afe98651319ebba46faa74c696c9c79b [1808/2335] headers/deps: x86/cpu, arm64/cpu: Split out from config: x86_64-randconfig-a001 (https://download.01.org/0day-ci/archive/20220318/202203181924.OJ9XUwqG-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project a6ec1e3d798f8eab43fb3a91028c6ab04e115fcb) 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://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git/commit/?id=9b4a1c67afe98651319ebba46faa74c696c9c79b git remote add mingo-tip git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git git fetch --no-tags mingo-tip master git checkout 9b4a1c67afe98651319ebba46faa74c696c9c79b # 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 arch/x86/entry/vdso/ arch/x86/entry/vsyscall/ arch/x86/kernel/cpu/mtrr/ arch/x86/pci/ kernel/trace/ net/ipv6/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> arch/x86/entry/vdso/vdso32-setup.c:55:12: warning: no previous prototype for function 'sysenter_setup' [-Wmissing-prototypes] int __init sysenter_setup(void) ^ arch/x86/entry/vdso/vdso32-setup.c:55:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int __init sysenter_setup(void) ^ static 1 warning generated. vim +/sysenter_setup +55 arch/x86/entry/vdso/vdso32-setup.c ^1da177e4c3f41 arch/i386/kernel/sysenter.c Linus Torvalds 2005-04-16 54 a6c4e076ee4c1e arch/i386/kernel/sysenter.c Jeremy Fitzhardinge 2007-05-02 @55 int __init sysenter_setup(void) ^1da177e4c3f41 arch/i386/kernel/sysenter.c Linus Torvalds 2005-04-16 56 { 0a6d1fa0d2b48f arch/x86/entry/vdso/vdso32-setup.c Andy Lutomirski 2015-10-05 57 init_vdso_image(&vdso_image_32); ^1da177e4c3f41 arch/i386/kernel/sysenter.c Linus Torvalds 2005-04-16 58 ^1da177e4c3f41 arch/i386/kernel/sysenter.c Linus Torvalds 2005-04-16 59 return 0; ^1da177e4c3f41 arch/i386/kernel/sysenter.c Linus Torvalds 2005-04-16 60 } e6e5494cb23d19 arch/i386/kernel/sysenter.c Ingo Molnar 2006-06-27 61 :::::: The code at line 55 was first introduced by commit :::::: a6c4e076ee4c1ea670e4faa55814e63dd08e3f29 [PATCH] i386: clean up identify_cpu :::::: TO: Jeremy Fitzhardinge :::::: CC: Andi Kleen --- 0-DAY CI Kernel Test Service https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org