[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87mstejilr.ffs@tglx>
Date: Tue, 09 Jan 2024 22:35:12 +0100
From: Thomas Gleixner <tglx@...utronix.de>
To: Yukai Wu <wuyukai0403@...com>, Dave Hansen
<dave.hansen@...ux.intel.com>, Andy Lutomirski <luto@...nel.org>, Peter
Zijlstra <peterz@...radead.org>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] x86/mm: Remove unnecessary casts in init_64.c
On Sun, Jan 07 2024 at 12:24, Yukai Wu wrote:
> @@ -150,7 +150,7 @@ static void sync_global_pgds_l5(unsigned long start, unsigned long end)
> pgd_t *pgd;
> spinlock_t *pgt_lock;
>
> - pgd = (pgd_t *)page_address(page) + pgd_index(addr);
> + pgd = page_address(page) + pgd_index(addr);
This is not equivalent.
Thanks,
tglx
Powered by blists - more mailing lists