summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/parse_data_structs.py
diff options
context:
space:
mode:
authorGary Guo <gary@garyguo.net>2026-09-02 22:59:59 +0100
committerMiguel Ojeda <ojeda@kernel.org>2026-10-03 14:04:56 +0200
commit3504d1bce9920b23499ab1af682cdf1eceba7c75 (patch)
tree01d3da423a5b7184f5231f3939107db30c48f309 /tools/lib/python/kdoc/parse_data_structs.py
parenta4082121eeb5caa7704734184aa24199e83e19bb (diff)
downloadlinux-next-3504d1bce9920b23499ab1af682cdf1eceba7c75.tar.gz
linux-next-3504d1bce9920b23499ab1af682cdf1eceba7c75.zip
rust: kunit: use `file!()` inside `kunit_assert!`
This parameter is needed currently because doctests want to override the file. Simplify it by changing it to use `file!()`. Have doctests override `file!()` macro to achieve the current behavior. This allows us to remove the `file` helper and associated Kconfig options. Reviewed-by: David Gow <david@davidgow.net> Signed-off-by: Gary Guo <gary@garyguo.net> Link: https://patch.msgid.link/20260902-kunit-v2-1-eda3ed6c00c5@garyguo.net Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions