diff options
| author | Abdiel Janulgue <[email protected]> | 2025-06-02 08:53:12 +0000 |
|---|---|---|
| committer | Danilo Krummrich <[email protected]> | 2025-06-23 13:34:13 +0000 |
| commit | fe58465905550576cc47cf93efeaaa6990e6c3b3 (patch) | |
| tree | dd1d6f1b3bf3804678c8d05c87c69641c2c9debe /rust/helpers/device.c | |
| parent | rust: dma: clarify wording and be consistent in `coherent` nomenclature (diff) | |
| download | kernel-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/device.c')
0 files changed, 0 insertions, 0 deletions
