Re: [PATCH v15 5/9] mm: rust: add mmput_async support
From: Alice Ryhl
Date: Mon Mar 10 2025 - 05:24:04 EST
On Sun, Mar 09, 2025 at 07:37:54PM +0800, kernel test robot wrote:
> >> error[E0425]: cannot find function `mmput_async` in crate `bindings`
> --> rust/kernel/mm.rs:143:28
> |
> 143 | unsafe { bindings::mmput_async(obj.cast().as_ptr()) };
> | ^^^^^^^^^^^ not found in `bindings`
It looks like the mmput_async function doesn't exist at all when
CONFIG_MMU is disabled?
I guess I can just make the MmWithUserAsync type not exist at all when
CONFIG_MMU is disabled to mirror that, but it seems a bit weird.
Alice