diff options
author | Deepak Thukral <iapain@gmail.com> | 2024-10-04 14:56:16 +0200 |
---|---|---|
committer | Miguel Ojeda <ojeda@kernel.org> | 2024-10-10 00:33:42 +0200 |
commit | 3566362dd4dc61f770e42045a92cc3f17df61df0 (patch) | |
tree | 6ec0788362dcf50e544ef87c1febcaf20d861fc2 /rust/helpers/spinlock.c | |
parent | 5ed147473458f8c20f908a03227d8f5bb3cb8f7d (diff) |
rust: std_vendor: update dbg macro from Rust upstream
`dbg!` contains adapted code from Rust upstream. Compare the kernel
code with the Rust upstream one and update missing column numbers in
`dbg!` outputs.
Column numbers are not copied but adjusted for the kernel's examples.
Suggested-by: Miguel Ojeda <ojeda@kernel.org>
Link: https://github.com/Rust-for-Linux/linux/issues/1124
Signed-off-by: Deepak Thukral <iapain@gmail.com>
Link: https://lore.kernel.org/r/20241004125616.49886-1-iapain@gmail.com
[ Fixed typo and slightly reworded. - Miguel ]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'rust/helpers/spinlock.c')
0 files changed, 0 insertions, 0 deletions