summaryrefslogtreecommitdiffstats
path: root/fs/binfmt_elf.c
diff options
context:
space:
mode:
authorAsahi Lina <lina@asahilina.net>2023-04-03 18:48:11 +0900
committerMiguel Ojeda <ojeda@kernel.org>2023-04-12 18:41:04 +0200
commitc7e20faa5fcad7a177cf6c306138010343dd6d3e (patch)
treedb1b09d4b29aaaee63801fb656dc1f4bf9a658e5 /fs/binfmt_elf.c
parent46384d0990bf99ed8b597e8794ea581e2a647710 (diff)
downloadlinux-stable-c7e20faa5fcad7a177cf6c306138010343dd6d3e.tar.gz
linux-stable-c7e20faa5fcad7a177cf6c306138010343dd6d3e.tar.bz2
linux-stable-c7e20faa5fcad7a177cf6c306138010343dd6d3e.zip
rust: error: Add Error::to_ptr()
This is the Rust equivalent to ERR_PTR(), for use in C callbacks. Marked as #[allow(dead_code)] for now, since it does not have any consumers yet. Reviewed-by: Martin Rodriguez Reboredo <yakoyoku@gmail.com> Signed-off-by: Asahi Lina <lina@asahilina.net> Reviewed-by: Gary Guo <gary@garyguo.net> Link: https://lore.kernel.org/r/20230224-rust-error-v3-2-03779bddc02b@asahilina.net Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'fs/binfmt_elf.c')
0 files changed, 0 insertions, 0 deletions