lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <49ff7c4c-6503-4c45-a8cb-91068fa9afa8@amd.com>
Date: Fri, 27 Jun 2025 13:31:51 -0400
From: Aurabindo Pillai <aurabindo.pillai@....com>
To: Christophe Leroy <christophe.leroy@...roup.eu>, Vineet Gupta
	<vgupta@...nel.org>, Russell King <linux@...linux.org.uk>, Guo Ren
	<guoren@...nel.org>, Michal Simek <monstr@...str.eu>, Thomas Bogendoerfer
	<tsbogend@...ha.franken.de>, Madhavan Srinivasan <maddy@...ux.ibm.com>,
	Michael Ellerman <mpe@...erman.id.au>, Nicholas Piggin <npiggin@...il.com>,
	Naveen N Rao <naveen@...nel.org>, "David S. Miller" <davem@...emloft.net>,
	Andreas Larsson <andreas@...sler.com>, Thomas Gleixner <tglx@...utronix.de>,
	Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>, Dave Hansen
	<dave.hansen@...ux.intel.com>, <x86@...nel.org>, "H. Peter Anvin"
	<hpa@...or.com>, Chris Zankel <chris@...kel.net>, Max Filippov
	<jcmvbkbc@...il.com>, Peter Zijlstra <peterz@...radead.org>, Juri Lelli
	<juri.lelli@...hat.com>, Vincent Guittot <vincent.guittot@...aro.org>,
	Dietmar Eggemann <dietmar.eggemann@....com>, Steven Rostedt
	<rostedt@...dmis.org>, Ben Segall <bsegall@...gle.com>, Mel Gorman
	<mgorman@...e.de>, Valentin Schneider <vschneid@...hat.com>
CC: <linux-snps-arc@...ts.infradead.org>, <linux-kernel@...r.kernel.org>,
	<linux-arm-kernel@...ts.infradead.org>, <linux-csky@...r.kernel.org>,
	<linux-mips@...r.kernel.org>, <linuxppc-dev@...ts.ozlabs.org>,
	<sparclinux@...r.kernel.org>
Subject: Re: [PATCH] kmap: fix header include to reflect actual path



On 2025-06-27 12:34, Christophe Leroy wrote:
> 
> 
> Le 27/06/2025 à 17:32, Aurabindo Pillai a écrit :
>> [Vous ne recevez pas souvent de courriers de aurabindo.pillai@....com. 
>> Découvrez pourquoi ceci est important à https://aka.ms/ 
>> LearnAboutSenderIdentification ]
>>
>> There are plenty of header includes like:
>>
>>          #include <asm/kmap_size.h>
> 
> Yes and in reality that includes those,
> 
> ./arch/arm64/include/generated/asm/kmap_size.h
> ./arch/riscv/include/generated/asm/kmap_size.h
> ./arch/arc/include/generated/asm/kmap_size.h
> ./arch/x86/include/generated/asm/kmap_size.h
> ./arch/powerpc/include/generated/asm/kmap_size.h
> ./arch/arm/include/generated/asm/kmap_size.h
> 
> Which contain:
> 
> $ cat arch/powerpc/include/generated/asm/kmap_size.h
> #include <asm-generic/kmap_size.h>
> 
> So what is the problem really ?

Thanks for the explanation. I was trying to reuse some driver source 
code in another project such that it compiles the related files in Linux 
and ran into a compilation issue, and the error was that the header file 
asm-generic/kmap_size.h was not found.

I just realized that once the kernel is built, the path asm/kmap_size.h 
will exist, and hence there is no need for this patch.
-- 
Thanks & Regards,
Aurabindo Pillai


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ