[PATCH 01/11] rust: helpers: io: use macro to generate io accessor functions
Arnd Bergmann
arnd at arndb.de
Fri May 9 05:32:55 UTC 2025
On Fri, May 9, 2025, at 05:15, Andrew Ballance wrote:
> +
> +define_rust_mmio_read_helper(readb, u8);
> +define_rust_mmio_read_helper(readw, u16);
> +define_rust_mmio_read_helper(readl, u32);
This makes it harder to grep for the definitions when trying
to follow the code flow. Can you find a way to have keep the actual
function body in source form, using the name of the generated
symbol?
Arnd
More information about the Nouveau
mailing list