On Tue, Jun 13, 2023 at 6:44 PM Boqun Feng boqun.feng@gmail.com wrote:
Cc: stable@vger.kernel.org # v6.1+
Applied to `rust-next`, thanks!
However, should this go to stable? The actual functions being called are the `__rust_*` ones (until they get removed in 1.71), no? Thus this is not actually fixing the actual functions being called, right?
If that is correct, then the fix should change the functions below, perhaps adding `krealloc_with_flags()` from the other patch (it does not need to be a method, by the way), and calling it with a `Layout` like the generated ones do. Then I can rebase `rust-next` on top of the fix that adds the `krealloc_with_flags()`.
Cheers, Miguel