aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/build_assert.c
diff options
context:
space:
mode:
authorAbdiel Janulgue <[email protected]>2025-06-02 08:53:12 +0000
committerDanilo Krummrich <[email protected]>2025-06-23 13:34:13 +0000
commitfe58465905550576cc47cf93efeaaa6990e6c3b3 (patch)
treedd1d6f1b3bf3804678c8d05c87c69641c2c9debe /rust/helpers/build_assert.c
parentrust: dma: clarify wording and be consistent in `coherent` nomenclature (diff)
downloadkernel-fe58465905550576cc47cf93efeaaa6990e6c3b3.tar.gz
kernel-fe58465905550576cc47cf93efeaaa6990e6c3b3.zip
rust: dma: convert the read/write macros to return Result
We could do better here by having the macros return `Result`, so that we don't have to wrap these calls in a closure for validation which is confusing. Co-developed-by: Andreas Hindborg <[email protected]> Signed-off-by: Andreas Hindborg <[email protected]> Link: https://lore.kernel.org/rust-for-linux/[email protected]/ Reviewed-by: Andreas Hindborg <[email protected]> Signed-off-by: Abdiel Janulgue <[email protected]> Link: https://lore.kernel.org/r/[email protected] [ Fix line length in dma_read!(). - Danilo ] Signed-off-by: Danilo Krummrich <[email protected]>
Diffstat (limited to 'rust/helpers/build_assert.c')
0 files changed, 0 insertions, 0 deletions