Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

rnull: replace `kernel::c_str!` with C-Strings

C-String literals were added in Rust 1.77. Replace instances of
`kernel::c_str!` with C-String literals where possible.

Signed-off-by: Tamir Duberstein <tamird@gmail.com>
Reviewed-by: Daniel Almeida <daniel.almeida@collabora.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>

authored by

Tamir Duberstein and committed by
Jens Axboe
4cef2fcd f8f9c1f4

+1 -1
+1 -1
drivers/block/rnull/configfs.rs
··· 25 25 ], 26 26 }; 27 27 28 - kernel::configfs::Subsystem::new(c_str!("rnull"), item_type, try_pin_init!(Config {})) 28 + kernel::configfs::Subsystem::new(c"rnull", item_type, try_pin_init!(Config {})) 29 29 } 30 30 31 31 #[pin_data]