Re: [PATCH v2] rust: add `module_params` macro

2024-08-28 Thread Andreas Hindborg
Hi Trevor, Thanks a lot for the thorough review! "Trevor Gross" writes: > On Mon, Aug 19, 2024 at 8:35 AM Andreas Hindborg wrote: >> >> From: Andreas Hindborg >> >> This patch includes changes required for Rust kernel modules to utilize >> module

Re: [PATCH v2] rust: add `module_params` macro

2024-08-27 Thread Andreas Hindborg
"Trevor Gross" writes: > On Tue, Aug 27, 2024 at 10:00 AM Andreas Hindborg wrote: >> >> "Trevor Gross" writes: >> >> > On Mon, Aug 19, 2024 at 8:35 AM Andreas Hindborg wrote: >> >> >> >> From: Andreas Hindborg &

Re: [PATCH v2] rust: add `module_params` macro

2024-08-27 Thread Andreas Hindborg
"Trevor Gross" writes: > On Mon, Aug 19, 2024 at 8:35 AM Andreas Hindborg wrote: >> >> From: Andreas Hindborg >> >> This patch includes changes required for Rust kernel modules to utilize >> module parameters. This code implements read only support f

[PATCH v2] rust: add `module_params` macro

2024-08-19 Thread Andreas Hindborg
From: Andreas Hindborg This patch includes changes required for Rust kernel modules to utilize module parameters. This code implements read only support for integer types without `sysfs` support. This code is a reduced and updated version of code by Adam available in the original `rust` branch

Re: [PATCH] rust: add `module_params` macro

2024-08-15 Thread Andreas Hindborg
"Benno Lossin" writes: > On 05.08.24 12:55, Andreas Hindborg wrote: >> "Benno Lossin" writes: >>> On 02.08.24 12:27, Andreas Hindborg wrote: >>>> At a higher level where the bindings supply the parsing functions, we >>>> can de

Re: [PATCH] rust: add `module_params` macro

2024-08-05 Thread Andreas Hindborg
"Benno Lossin" writes: > On 02.08.24 12:27, Andreas Hindborg wrote: >> "Benno Lossin" writes: >>> On 01.08.24 17:11, Andreas Hindborg wrote: >>>> "Benno Lossin" writes: >>>>> On 01.08.24 15:40, Andreas Hindborg wrote:

Re: [PATCH] rust: add `module_params` macro

2024-08-02 Thread Andreas Hindborg
"Benno Lossin" writes: > On 01.08.24 17:11, Andreas Hindborg wrote: >> "Benno Lossin" writes: >>> On 01.08.24 15:40, Andreas Hindborg wrote: >>>> "Benno Lossin" writes: >>>>> On 01.08.24 13:29, Andreas Hindborg wrote:

Re: [PATCH] rust: add `module_params` macro

2024-08-01 Thread Andreas Hindborg
"Benno Lossin" writes: > On 01.08.24 15:40, Andreas Hindborg wrote: >> "Benno Lossin" writes: >>> On 01.08.24 13:29, Andreas Hindborg wrote: >>>> "Benno Lossin" writes: >>>>> On 05.07.24 13:15, Andreas Hindbo

Re: [PATCH] rust: add `module_params` macro

2024-08-01 Thread Andreas Hindborg
"Benno Lossin" writes: > On 01.08.24 13:29, Andreas Hindborg wrote: >> >> Hi Benno, >> >> Thanks for the comments! >> >> "Benno Lossin" writes: >> >>> On 05.07.24 13:15, Andreas Hindborg wrote: >

Re: [PATCH] rust: add `module_params` macro

2024-08-01 Thread Andreas Hindborg
Hi Benno, Thanks for the comments! "Benno Lossin" writes: > On 05.07.24 13:15, Andreas Hindborg wrote: [...] >> + >> +/// Types that can be used for module parameters. >> +/// >> +/// Note that displaying the type in `sysfs` will fail if >> +/

Re: [PATCH] rust: add `module_params` macro

2024-07-05 Thread Andreas Hindborg
Hi Adam, "Andreas Hindborg" writes: > From: Andreas Hindborg > > This patch includes changes required for Rust kernel modules to utilize > module parameters. This code implements read only support for integer > types without `sysfs` support. > > This code is a

[PATCH] rust: add `module_params` macro

2024-07-05 Thread Andreas Hindborg
From: Andreas Hindborg This patch includes changes required for Rust kernel modules to utilize module parameters. This code implements read only support for integer types without `sysfs` support. This code is a reduced and updated version of code by Adam available in the original `rust` branch