From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 21C217E8 for ; Sat, 13 May 2023 02:34:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1683945253; x=1715481253; h=date:from:to:cc:subject:message-id:mime-version; bh=P98cLHY+qc10N9vNuFLnnEm/QfdWSIpq7aGsftAj3SQ=; b=HiNYlbfkOHqgy9gVGnfUEtye1MZnaB/yhpTcdnG9Cr97bmbbv3tZoybO mwErkO8bL8kR7OJsysCkwmN94sBJjxTkDX9O/NXAB3vV0FV85so09sddW lTo+Myf4Nx0Rqpj0eB/sChstWx3hkilnM2JiY/JxUzpP07zmkvB7O2Usk XkqzGBwaK9UyI9OwXYiKhZ+kddKyddBA99R4cMh1cp4Y3dPrSxUYWpJ4t J9HpB6ZxRwEzssuLKT4L16NLeNlDSa6Ox+dvAqSUxVDRhX+URehwiFORY eNQ9Y0gO/D82IQdkWveL+reCKOwZUGmPggqGO4+rJxLDvlzVGyDAk877E Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10708"; a="379061876" X-IronPort-AV: E=Sophos;i="5.99,271,1677571200"; d="scan'208";a="379061876" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 May 2023 19:34:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10708"; a="844634280" X-IronPort-AV: E=Sophos;i="5.99,271,1677571200"; d="scan'208";a="844634280" Received: from lkp-server01.sh.intel.com (HELO dea6d5a4f140) ([10.239.97.150]) by fmsmga001.fm.intel.com with ESMTP; 12 May 2023 19:34:01 -0700 Received: from kbuild by dea6d5a4f140 with local (Exim 4.96) (envelope-from ) id 1pxf56-0005Fv-38; Sat, 13 May 2023 02:34:00 +0000 Date: Sat, 13 May 2023 10:33:55 +0800 From: kernel test robot To: Ard Biesheuvel Cc: oe-kbuild-all@lists.linux.dev Subject: [ardb:efi-remove-mixed-mode 22/30] arch/x86/platform/efi/efi.c:883:7: warning: no previous prototype for 'efi_systab_show_arch' Message-ID: <202305131057.FdbNTmQB-lkp@intel.com> Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline tree: git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git efi-remove-mixed-mode head: cd57f70012e67876ab331fb83fd05670727e44d1 commit: 7273d530e9395955b89a59ed682253dacbce7b7a [22/30] x86: efi: Drop UGA support config: x86_64-randconfig-a011 (https://download.01.org/0day-ci/archive/20230513/202305131057.FdbNTmQB-lkp@intel.com/config) compiler: gcc-11 (Debian 11.3.0-12) 11.3.0 reproduce (this is a W=1 build): # https://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git/commit/?id=7273d530e9395955b89a59ed682253dacbce7b7a git remote add ardb git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git git fetch --no-tags ardb efi-remove-mixed-mode git checkout 7273d530e9395955b89a59ed682253dacbce7b7a # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=x86_64 olddefconfig make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash arch/x86/platform/efi/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202305131057.FdbNTmQB-lkp@intel.com/ All warnings (new ones prefixed by >>): >> arch/x86/platform/efi/efi.c:883:7: warning: no previous prototype for 'efi_systab_show_arch' [-Wmissing-prototypes] 883 | char *efi_systab_show_arch(char *str) | ^~~~~~~~~~~~~~~~~~~~ arch/x86/platform/efi/efi.c:905:9: warning: no previous prototype for 'efi_attr_is_visible' [-Wmissing-prototypes] 905 | umode_t efi_attr_is_visible(struct kobject *kobj, struct attribute *attr, int n) | ^~~~~~~~~~~~~~~~~~~ vim +/efi_systab_show_arch +883 arch/x86/platform/efi/efi.c fd506e0cf9fd430 Ard Biesheuvel 2020-01-19 882 fd506e0cf9fd430 Ard Biesheuvel 2020-01-19 @883 char *efi_systab_show_arch(char *str) fd506e0cf9fd430 Ard Biesheuvel 2020-01-19 884 { fd506e0cf9fd430 Ard Biesheuvel 2020-01-19 885 return str; fd506e0cf9fd430 Ard Biesheuvel 2020-01-19 886 } 9cd437ac0ef4f32 Ard Biesheuvel 2020-01-20 887 :::::: The code at line 883 was first introduced by commit :::::: fd506e0cf9fd4306aa0eb57cbff5f00514da8179 efi: Move UGA and PROP table handling to x86 code :::::: TO: Ard Biesheuvel :::::: CC: Ard Biesheuvel -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests