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 lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BAEA2FA3741 for ; Fri, 2 Jan 2026 12:59:15 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [127.0.0.1]) by lists.ozlabs.org (Postfix) with ESMTP id 4djP0L3021z2xpg; Fri, 02 Jan 2026 23:59:14 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip=217.140.110.172 ARC-Seal: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1767358754; cv=none; b=Ir+46sHkaD3rRMOJZLD+R7u6e3OEc5g+SD/ul9p2TohFBYB6XtIpqgjXen6xxLgATOUNbUuNPY+RqwoIEzZmFuyaNWjdU91JJQod/EzDPyfDyiRJUWGkutitZoSehK3FzYI6RD3SnKFIBVv16CJyUzpaWxWYHpINl2A1EIj1jb5OF0ByWa3bEmAnq64PlPGrgHtE61pmrbopEwS33ec5bdKB4ACzAKJ9xYdpehMDi3BQo2Deyr9gtFQIfAPS0y/H3SWFL9jyYW1EpQznZGJUojZ70KTc2iUyePBLw61ODe4w5cRnh8cyjLDssIHOuvzUPBykeUwm9q2i+c4y4LAOYA== ARC-Message-Signature: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1767358754; c=relaxed/relaxed; bh=kgv5S66Ie8+n0Hayw6veg0xLVopWHz7Ycfk1ruKCVqc=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=UDYK055bRr8Rp7DT1gnsbR5maP4ij04TWJON2iLvQNV07r35QiDIy5TCORGSTQ+5VesmurzC1rznVstUTVJS9UaUVBxHcXCHvjRYkQUYBj57qYP5+ixiU6xXeDNHH+AyxDEPyqcl09msGn+aRBSoDeGtSNOJ4BM176benJKPDQ8oSaoaQYyz3jOVMxcpjZfzctvI72gRH7DNIq/vOlme6kw3iPAm17ZStRisBLBCiiGuYZyRnT/Fpq6M2CsEzeU7BIHujxgOCftfPowc4NlMkGYGqOkQopCq0km2Qjug6tOLAvlE2o0g4xG0z6yn1Lr98zCJ8OGAM+HNUUY/glyJrg== ARC-Authentication-Results: i=1; lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass (client-ip=217.140.110.172; helo=foss.arm.com; envelope-from=ryan.roberts@arm.com; receiver=lists.ozlabs.org) smtp.mailfrom=arm.com Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=arm.com (client-ip=217.140.110.172; helo=foss.arm.com; envelope-from=ryan.roberts@arm.com; receiver=lists.ozlabs.org) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lists.ozlabs.org (Postfix) with ESMTP id 4djP0J5VWYz2xTh for ; Fri, 02 Jan 2026 23:59:10 +1100 (AEDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 81774497; Fri, 2 Jan 2026 04:58:31 -0800 (PST) Received: from [10.57.94.221] (unknown [10.57.94.221]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 9905D3F5A1; Fri, 2 Jan 2026 04:58:33 -0800 (PST) Message-ID: <581a0fac-7891-4644-af65-0354e22b9311@arm.com> Date: Fri, 2 Jan 2026 12:58:32 +0000 X-Mailing-List: linuxppc-dev@lists.ozlabs.org List-Id: List-Help: List-Owner: List-Post: List-Archive: , List-Subscribe: , , List-Unsubscribe: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 3/3] randomize_kstack: Unify random source across arches Content-Language: en-GB To: kernel test robot , Catalin Marinas , Will Deacon , Huacai Chen , Madhavan Srinivasan , Michael Ellerman , Paul Walmsley , Palmer Dabbelt , Albert Ou , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , Kees Cook , "Gustavo A. R. Silva" , Arnd Bergmann , Mark Rutland , "Jason A. Donenfeld" , Ard Biesheuvel , Jeremy Linton Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, loongarch@lists.linux.dev, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-hardening@vger.kernel.org References: <20251215163520.1144179-4-ryan.roberts@arm.com> <202512170038.vJZdUhEN-lkp@intel.com> From: Ryan Roberts In-Reply-To: <202512170038.vJZdUhEN-lkp@intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 16/12/2025 16:31, kernel test robot wrote: > Hi Ryan, > > kernel test robot noticed the following build errors: > > [auto build test ERROR on tip/sched/core] > [also build test ERROR on akpm-mm/mm-everything linus/master v6.19-rc1 next-20251216] > [cannot apply to kees/for-next/hardening kees/for-next/execve] > [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/Ryan-Roberts/prandom-Convert-prandom_u32_state-to-__always_inline/20251216-013546 > base: tip/sched/core > patch link: https://lore.kernel.org/r/20251215163520.1144179-4-ryan.roberts%40arm.com > patch subject: [PATCH v2 3/3] randomize_kstack: Unify random source across arches > config: x86_64-rhel-9.4-ltp (https://download.01.org/0day-ci/archive/20251217/202512170038.vJZdUhEN-lkp@intel.com/config) > compiler: gcc-14 (Debian 14.2.0-19) 14.2.0 > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251217/202512170038.vJZdUhEN-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/202512170038.vJZdUhEN-lkp@intel.com/ > > All error/warnings (new ones prefixed by >>): > >>> arch/x86/boot/startup/sev-startup.o: warning: objtool: section .discard.addressable has absolute relocation at offset 0x0 > -- > In file included from include/linux/device/driver.h:21, > from include/linux/device.h:32, > from include/linux/blk_types.h:11, > from include/linux/writeback.h:13, > from include/linux/memcontrol.h:23, > from include/linux/resume_user_mode.h:8, > from include/linux/entry-virt.h:6, > from include/linux/kvm_host.h:5, > from arch/x86/kvm/svm/svm.c:3: >>> include/linux/module.h:132:49: error: redefinition of '__inittest' > 132 | static inline initcall_t __maybe_unused __inittest(void) \ > | ^~~~~~~~~~ > arch/x86/kvm/svm/svm.c:5509:1: note: in expansion of macro 'module_init' > 5509 | module_init(svm_init) > | ^~~~~~~~~~~ > include/linux/module.h:132:49: note: previous definition of '__inittest' with type 'int (*(void))(void)' > 132 | static inline initcall_t __maybe_unused __inittest(void) \ > | ^~~~~~~~~~ > include/linux/module.h:125:41: note: in expansion of macro 'module_init' > 125 | #define late_initcall(fn) module_init(fn) > | ^~~~~~~~~~~ > include/linux/randomize_kstack.h:86:1: note: in expansion of macro 'late_initcall' > 86 | late_initcall(random_kstack_init); > | ^~~~~~~~~~~~~ Oops, this is due to having put late_initcall() in the header file. I'll move this to a c file for the next version. Thanks for the report!