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: <624d8b85-f247-8b8b-e69e-43860aae42d2@infradead.org>
Date:   Wed, 12 Jul 2023 08:06:17 -0700
From:   Randy Dunlap <rdunlap@...radead.org>
To:     huzhi001@...suo.com, tglx@...utronix.de, mingo@...hat.com,
        bp@...en8.de, dave.hansen@...ux.intel.com, x86@...nel.org
Cc:     hpa@...or.com, wangkefeng.wang@...wei.com, catalin.marinas@....com,
        hca@...ux.ibm.com, guoren@...nel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mm: Fix warnings in pgtable_32.h

Hi,

On 7/12/23 07:00, huzhi001@...suo.com wrote:
> The following checkpatch warnings are removed:
> WARNING: Use #include <linux/processor.h> instead of <asm/processor.h>
> 
> Signed-off-by: ZhiHu <huzhi001@...suo.com>

Do you compile-test your changes?

> ---
>  arch/x86/include/asm/pgtable_32.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/x86/include/asm/pgtable_32.h b/arch/x86/include/asm/pgtable_32.h
> index 7d4ad8907297..f4c155055035 100644
> --- a/arch/x86/include/asm/pgtable_32.h
> +++ b/arch/x86/include/asm/pgtable_32.h
> @@ -14,7 +14,7 @@
>   * the i386 page table tree.
>   */
>  #ifndef __ASSEMBLY__
> -#include <asm/processor.h>
> +#include <linux/processor.h>
>  #include <linux/threads.h>
>  #include <asm/paravirt.h>

-- 
~Randy

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ