All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: Yukai Wu <wuyukai0403@qq.com>,
	Dave Hansen <dave.hansen@linux.intel.com>,
	Andy Lutomirski <luto@kernel.org>,
	Peter Zijlstra <peterz@infradead.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] x86/mm: Remove unnecessary casts in init_64.c
Date: Tue, 09 Jan 2024 22:35:12 +0100	[thread overview]
Message-ID: <87mstejilr.ffs@tglx> (raw)
In-Reply-To: <tencent_16DE28073E2F2BF284331B21ADFA58AB2907@qq.com>

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

  reply	other threads:[~2024-01-09 21:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-07  4:24 [PATCH] x86/mm: Remove unnecessary casts in init_64.c Yukai Wu
2024-01-09 21:35 ` Thomas Gleixner [this message]
2024-01-12 13:20 ` kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2024-01-07 16:46 Alexey Dobriyan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mstejilr.ffs@tglx \
    --to=tglx@linutronix.de \
    --cc=dave.hansen@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luto@kernel.org \
    --cc=peterz@infradead.org \
    --cc=wuyukai0403@qq.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.