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 4E30AC4167B for ; Thu, 9 Nov 2023 09:25:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232625AbjKIJZz (ORCPT ); Thu, 9 Nov 2023 04:25:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232483AbjKIJZv (ORCPT ); Thu, 9 Nov 2023 04:25:51 -0500 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71F6A270C; Thu, 9 Nov 2023 01:25:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1699521949; x=1731057949; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=AyxJP29kR02iiNbcHt7dehQtU/CjLqUJJGn9LSD530U=; b=HlAQ9WAYZZcdevi18vuASlC3HnxW4AnTI9acS6AdA0pQNZyRYR/IE4td yXyaxyte2JbSiEI3Hqg8lQXVtFqseRznMdNXwGtXBGhJJrqhleLuEXLKU lA4StVc4aiiPwdeO25EbLfaX5rUP3rriStFq2xtQrmwkNs68IveXN49s3 45zD5BMl9wtcWMYlDmKcdGq4VVRSV1zhsXEOdjCzwdogWlSUuu7qu1a4a AjDMcfSrjE9xqf/KAUcTXuDWw968C0GfsDX7DqAb0WrirHXqV7moTrLu2 eRtPbEn87fPPpfCsegnw7p357FMoOBoA5ZX8yLqS4Me4SvsYCWxo443uQ Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10888"; a="393860530" X-IronPort-AV: E=Sophos;i="6.03,289,1694761200"; d="scan'208";a="393860530" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Nov 2023 01:25:48 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10888"; a="829250358" X-IronPort-AV: E=Sophos;i="6.03,289,1694761200"; d="scan'208";a="829250358" Received: from lkp-server01.sh.intel.com (HELO 17d9e85e5079) ([10.239.97.150]) by fmsmga008.fm.intel.com with ESMTP; 09 Nov 2023 01:25:41 -0800 Received: from kbuild by 17d9e85e5079 with local (Exim 4.96) (envelope-from ) id 1r11IB-0008cK-0b; Thu, 09 Nov 2023 09:25:39 +0000 Date: Thu, 9 Nov 2023 17:25:13 +0800 From: kernel test robot To: Arnd Bergmann , Andrew Morton , linux-kernel@vger.kernel.org, Masahiro Yamada , linux-kbuild@vger.kernel.org Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List , Arnd Bergmann , Matt Turner , Vineet Gupta , Russell King , Catalin Marinas , Will Deacon , Steven Rostedt , Masami Hiramatsu , Mark Rutland , Guo Ren , Peter Zijlstra , Ard Biesheuvel , Huacai Chen , Greg Ungerer , Michal Simek , Thomas Bogendoerfer , Dinh Nguyen , Michael Ellerman , Nicholas Piggin , Christophe Leroy , Geoff Levand , Palmer Dabbelt , Heiko Carstens , John Paul Adrian Glaubitz , Andy Lutomirski Subject: Re: [PATCH 15/22] arch: vdso: consolidate gettime prototypes Message-ID: <202311091754.K9wZD9Nv-lkp@intel.com> References: <20231108125843.3806765-16-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231108125843.3806765-16-arnd@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Arnd, kernel test robot noticed the following build errors: [auto build test ERROR on linus/master] [cannot apply to v6.6 next-20231109] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Arnd-Bergmann/ida-make-ida_dump-static/20231109-005742 base: linus/master patch link: https://lore.kernel.org/r/20231108125843.3806765-16-arnd%40kernel.org patch subject: [PATCH 15/22] arch: vdso: consolidate gettime prototypes config: um-defconfig (https://download.01.org/0day-ci/archive/20231109/202311091754.K9wZD9Nv-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231109/202311091754.K9wZD9Nv-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202311091754.K9wZD9Nv-lkp@intel.com/ All errors (new ones prefixed by >>): >> arch/x86/um/vdso/um_vdso.c:17:5: error: conflicting types for '__vdso_clock_gettime'; have 'int(clockid_t, struct __kernel_old_timespec *)' {aka 'int(int, struct __kernel_old_timespec *)'} 17 | int __vdso_clock_gettime(clockid_t clock, struct __kernel_old_timespec *ts) | ^~~~~~~~~~~~~~~~~~~~ In file included from arch/x86/um/vdso/um_vdso.c:15: include/vdso/gettime.h:16:5: note: previous declaration of '__vdso_clock_gettime' with type 'int(clockid_t, struct __kernel_timespec *)' {aka 'int(int, struct __kernel_timespec *)'} 16 | int __vdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts); | ^~~~~~~~~~~~~~~~~~~~ arch/x86/um/vdso/um_vdso.c:58:1: warning: no previous prototype for '__vdso_getcpu' [-Wmissing-prototypes] 58 | __vdso_getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *unused) | ^~~~~~~~~~~~~ vim +17 arch/x86/um/vdso/um_vdso.c f1c2bb8b9964ed arch/um/sys-x86_64/vdso/um_vdso.c Richard Weinberger 2011-07-25 16 82210fc778982d arch/x86/um/vdso/um_vdso.c Arnd Bergmann 2019-10-27 @17 int __vdso_clock_gettime(clockid_t clock, struct __kernel_old_timespec *ts) f1c2bb8b9964ed arch/um/sys-x86_64/vdso/um_vdso.c Richard Weinberger 2011-07-25 18 { f1c2bb8b9964ed arch/um/sys-x86_64/vdso/um_vdso.c Richard Weinberger 2011-07-25 19 long ret; f1c2bb8b9964ed arch/um/sys-x86_64/vdso/um_vdso.c Richard Weinberger 2011-07-25 20 5541992e512de8 arch/x86/um/vdso/um_vdso.c Ammar Faizi 2022-12-24 21 asm("syscall" 5541992e512de8 arch/x86/um/vdso/um_vdso.c Ammar Faizi 2022-12-24 22 : "=a" (ret) 5541992e512de8 arch/x86/um/vdso/um_vdso.c Ammar Faizi 2022-12-24 23 : "0" (__NR_clock_gettime), "D" (clock), "S" (ts) 5541992e512de8 arch/x86/um/vdso/um_vdso.c Ammar Faizi 2022-12-24 24 : "rcx", "r11", "memory"); f1c2bb8b9964ed arch/um/sys-x86_64/vdso/um_vdso.c Richard Weinberger 2011-07-25 25 f1c2bb8b9964ed arch/um/sys-x86_64/vdso/um_vdso.c Richard Weinberger 2011-07-25 26 return ret; f1c2bb8b9964ed arch/um/sys-x86_64/vdso/um_vdso.c Richard Weinberger 2011-07-25 27 } 82210fc778982d arch/x86/um/vdso/um_vdso.c Arnd Bergmann 2019-10-27 28 int clock_gettime(clockid_t, struct __kernel_old_timespec *) f1c2bb8b9964ed arch/um/sys-x86_64/vdso/um_vdso.c Richard Weinberger 2011-07-25 29 __attribute__((weak, alias("__vdso_clock_gettime"))); f1c2bb8b9964ed arch/um/sys-x86_64/vdso/um_vdso.c Richard Weinberger 2011-07-25 30 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki