aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorDanilo Krummrich <[email protected]>2024-10-04 15:41:28 +0000
committerMiguel Ojeda <[email protected]>2024-10-15 21:10:32 +0000
commit909037ce0369bc3f4fd31743fd2d8d7096f06002 (patch)
treee5c03b85efd8a1beb30b336fc0bc1a684a9cdc54 /scripts/generate_rust_analyzer.py
parentrust: error: check for config `test` in `Error::name` (diff)
downloadkernel-909037ce0369bc3f4fd31743fd2d8d7096f06002.tar.gz
kernel-909037ce0369bc3f4fd31743fd2d8d7096f06002.zip
rust: alloc: implement `contains` for `Flags`
Provide a simple helper function to check whether given flags do contain one or multiple other flags. This is used by a subsequent patch implementing the Cmalloc `Allocator` to check for __GFP_ZERO. Reviewed-by: Alice Ryhl <[email protected]> Reviewed-by: Benno Lossin <[email protected]> Reviewed-by: Gary Guo <[email protected]> Signed-off-by: Danilo Krummrich <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions