Re: [PATCH 02/79] block: rnull: add module parameters

Alice Ryhl
2026-03-16T09:18:28Z

On Mon, Feb 16, 2026 at 12:34:49AM +0100, Andreas Hindborg wrote:
> Module parameter support for Rust modules was merged a few releases back.
> Add module parameter support to the rnull driver.
>
> This allows the user to control the driver either via configfs or module
> parameters, just like the C counterpart.
>
> Please note that the rust module parameters do not support boolean values.
> Flags that should have been booleans are parsed as integers and compared to
> zero.

Since this is uapi, you probably should support booleans here. Otherwise
it'd be breaking to change this to be a boolean later.

Otherwise lgtm.

Alice