Re: [PATCH] rust: transmute: use split_at_checked() and split_at_mut_checked()

From: Albab Hasan

Date: Wed Mar 11 2026 - 02:45:37 EST


On Wed, 11 Mar 2026 at 01:53, Miguel Ojeda
<miguel.ojeda.sandonis@xxxxxxxxx> wrote:
>
> On Tue, Mar 10, 2026 at 12:59 PM Albab Hasan <albabhasan276@xxxxxxxxx> wrote:
> >
> > Thanks for the correction. I'll wait for the MSRV bump to 1.85 and rebase the patch on top of that.
> >
> > Also I should note that a similar patch was made by Joy G Majumdar but that received no replies and was not merged (possibly abandoned). I forgot to add this in my initial mail. I hope that wont be a problem.
> >
> > Link to the previous patch: https://lore.kernel.org/linux-kernel/CABJmqzutbhyc5yiE_+=M=+gPCo=rYWZ2Tc2FhjMvC9QzZPuEag@xxxxxxxxxxxxxx/
>
> You're welcome!
>
> Sounds good -- I would suggest replying with "Reply to All", since it
> seems this reply was sent in private, rather than to the mailing list,
> i.e. I don't think others can see your reply. (You should avoid HTML
> replies, since they get dropped by the mailing lists, by the way).
>
> And thanks for the pointer to the other patch -- I didn't have it in
> my spreadsheet. It seems it was sent to some mailing lists that don't
> seem to exist (except for the LKML one). It wasn't sent to the
> individual maintainers either.
>
> I would suggest mentioning the other patch in public, and taking
> perhaps the chance to Cc the maintainers (using
> `scripts/get_maintainers.pl` or e.g.
> https://rust-for-linux.com/contributing#submitting-patches), plus
> Cc'ing Joy so that he is aware of this one, and perhaps you may want
> to consider crediting him (depending on what you think is fair, there
> are several ways -- please see
> `Documentation/process/submitting-patches.rst`).
>
> I hope that helps!
>
> Cheers,
> Miguel

Thanks Miguel.

I'll wait for the MSRV bump and send the V2 then.

I would also like to note that a similar patch was submitted by Joy G
Majumdar on 2026-01-05 but received no replies and was not merged:

https://lore.kernel.org/linux-kernel/CABJmqzutbhyc5yiE_+=M=+gPCo=rYWZ2Tc2FhjMvC9QzZPuEag@xxxxxxxxxxxxxx/

I'll Cc Joy and all relevant maintainers on v2, and credit him.

Thanks,
Albab