mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Paul Walmsley <pjw@kernel.org>
To: Florian Schmaus <florian.schmaus@codasip.com>
Cc: Paul Walmsley <pjw@kernel.org>,
	Palmer Dabbelt <palmer@dabbelt.com>,
	 Albert Ou <aou@eecs.berkeley.edu>,
	Alexandre Ghiti <alex@ghiti.fr>,
	 Samuel Holland <samuel.holland@sifive.com>,
	 Andrew Jones <ajones@ventanamicro.com>,
	 Conor Dooley <conor.dooley@microchip.com>,
	 Sean Chang <seanwascoding@gmail.com>,
	Miaoqian Lin <linmq006@gmail.com>,
	 linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] riscv: module: Use generic cmp_int() instead of custom cmp_3way()
Date: Tue, 19 May 2026 15:29:27 -0600 (MDT)	[thread overview]
Message-ID: <f0796b8a-ffc5-234e-bb9e-79e8deedf908@kernel.org> (raw)
In-Reply-To: <20260512063231.708256-1-florian.schmaus@codasip.com>

On Tue, 12 May 2026, Florian Schmaus wrote:

> The module-sections.c file defines a custom cmp_3way() macro to perform
> 3-way comparisons during relocation sorting.
> 
> Instead of maintaining our own implementation, use the generic
> cmp_int() macro provided by the already included <linux/sort.h>. This
> removes redundant code and relies on standard kernel interfaces.
> 
> Signed-off-by: Florian Schmaus <florian.schmaus@codasip.com>

Thanks, queued for v7.2.  Looks like arm, arm64, and loongarch have the 
same problem.  Care to fix those too (in separate patches)?


- Paul

  reply	other threads:[~2026-05-19 21:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-12  6:32 Florian Schmaus
2026-05-19 21:29 ` Paul Walmsley [this message]
2026-05-22  3:08 ` patchwork-bot+linux-riscv

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=f0796b8a-ffc5-234e-bb9e-79e8deedf908@kernel.org \
    --to=pjw@kernel.org \
    --cc=ajones@ventanamicro.com \
    --cc=alex@ghiti.fr \
    --cc=aou@eecs.berkeley.edu \
    --cc=conor.dooley@microchip.com \
    --cc=florian.schmaus@codasip.com \
    --cc=linmq006@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-riscv@lists.infradead.org \
    --cc=palmer@dabbelt.com \
    --cc=samuel.holland@sifive.com \
    --cc=seanwascoding@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome