Re: [PATCH 02/79] block: rnull: add module parameters
From: Alice Ryhl
Date: Mon Mar 16 2026 - 05:21:58 EST
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