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 7D543C76195 for ; Wed, 22 Mar 2023 15:54:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231138AbjCVPys (ORCPT ); Wed, 22 Mar 2023 11:54:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230375AbjCVPyq (ORCPT ); Wed, 22 Mar 2023 11:54:46 -0400 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5B195D742 for ; Wed, 22 Mar 2023 08:54:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1679500485; x=1711036485; h=date:from:to:cc:subject:message-id:mime-version; bh=lXvDRrWUWDucXe3myIp0G26sAIU5APXjsiQfH5OJuXE=; b=eO6+tuUw1fQsT4f/3yfjIs/OG59rs0ddy7Gow2YPUq1JpVcH4/eDXi8C cQuswHsc/zay5BiOpWUe8D1tWOJugcu+k1U99rC9qsKJobKR0Xp9pJ0Y+ htMp8QE6Wn0EdAm754QSN+qoRK8LekPElCDUxZ+beYKQTRs0y5OHBRcCI 7LOnJezGtfEmHKY9KKBXPJydrXGxZSnEt20BLWu3zhTPyVtmvIKVLicoL yCm7prnA8p3njBtqh42snUBDw6I6fv3zj3jfTGBqvWRPohPTSsQNMrP0T ZMa6whiNsaV5dnhSlPwoFoVUZMqZ8l9/EaU+M4d2hauh2ERTCb1p8DcW5 A==; X-IronPort-AV: E=McAfee;i="6600,9927,10657"; a="404138359" X-IronPort-AV: E=Sophos;i="5.98,282,1673942400"; d="scan'208";a="404138359" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Mar 2023 08:54:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10657"; a="681946995" X-IronPort-AV: E=Sophos;i="5.98,282,1673942400"; d="scan'208";a="681946995" Received: from lkp-server01.sh.intel.com (HELO b613635ddfff) ([10.239.97.150]) by orsmga002.jf.intel.com with ESMTP; 22 Mar 2023 08:54:43 -0700 Received: from kbuild by b613635ddfff with local (Exim 4.96) (envelope-from ) id 1pf0nT-000DRg-0O; Wed, 22 Mar 2023 15:54:43 +0000 Date: Wed, 22 Mar 2023 23:53:49 +0800 From: kernel test robot To: Sebastian Andrzej Siewior Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Thomas Gleixner Subject: arch/x86/entry/vdso/vdso32/../vgetcpu.c:13:1: error: no previous prototype for '__vdso_getcpu' Message-ID: <202303222323.cnjgJ1fj-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: a1effab7a3a35a837dd9d2b974a1bc4939df1ad5 commit: 92d33063c081a82d25dd08a9cce03947c8ed9164 x86/vdso: Provide getcpu for x86-32. date: 6 weeks ago config: x86_64-sof-customedconfig-soundwire-defconfig (https://download.01.org/0day-ci/archive/20230322/202303222323.cnjgJ1fj-lkp@intel.com/config) compiler: gcc-11 (Debian 11.3.0-8) 11.3.0 reproduce (this is a W=1 build): # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=92d33063c081a82d25dd08a9cce03947c8ed9164 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 92d33063c081a82d25dd08a9cce03947c8ed9164 # 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 If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202303222323.cnjgJ1fj-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from arch/x86/entry/vdso/vdso32/vgetcpu.c:2: >> arch/x86/entry/vdso/vdso32/../vgetcpu.c:13:1: error: no previous prototype for '__vdso_getcpu' [-Werror=missing-prototypes] 13 | __vdso_getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *unused) | ^~~~~~~~~~~~~ cc1: all warnings being treated as errors vim +/__vdso_getcpu +13 arch/x86/entry/vdso/vdso32/../vgetcpu.c 2aae950b21e4bc arch/x86_64/vdso/vgetcpu.c Andi Kleen 2007-07-21 11 23adec554a7648 arch/x86/vdso/vgetcpu.c Steven Rostedt 2008-05-12 12 notrace long 23adec554a7648 arch/x86/vdso/vgetcpu.c Steven Rostedt 2008-05-12 @13 __vdso_getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *unused) 2aae950b21e4bc arch/x86_64/vdso/vgetcpu.c Andi Kleen 2007-07-21 14 { 22245bdf0ad805 arch/x86/entry/vdso/vgetcpu.c Ingo Molnar 2018-10-08 15 vdso_read_cpunode(cpu, node); ec3a94188df7d2 arch/x86/entry/vdso/vgetcpu.c Ingo Molnar 2018-10-08 16 2aae950b21e4bc arch/x86_64/vdso/vgetcpu.c Andi Kleen 2007-07-21 17 return 0; 2aae950b21e4bc arch/x86_64/vdso/vgetcpu.c Andi Kleen 2007-07-21 18 } 2aae950b21e4bc arch/x86_64/vdso/vgetcpu.c Andi Kleen 2007-07-21 19 :::::: The code at line 13 was first introduced by commit :::::: 23adec554a7648f99c8acc0caf49c66320cd2b84 x86: add notrace annotations to vsyscall. :::::: TO: Steven Rostedt :::::: CC: Thomas Gleixner -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests