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.

rust: block: fix `srctree/` links

This `srctree/` link pointed to a file with an underscore, but the header
used a dash instead.

Thus fix it.

This cleans a future warning that will check our `srctree/` links.

Cc: stable@vger.kernel.org
Fixes: 3253aba3408a ("rust: block: introduce `kernel::block::mq` module")
Reviewed-by: Daniel Almeida <daniel.almeida@collabora.com>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>

+1 -1
+1 -1
rust/kernel/block/mq/gen_disk.rs
··· 3 3 //! Generic disk abstraction. 4 4 //! 5 5 //! C header: [`include/linux/blkdev.h`](srctree/include/linux/blkdev.h) 6 - //! C header: [`include/linux/blk_mq.h`](srctree/include/linux/blk_mq.h) 6 + //! C header: [`include/linux/blk-mq.h`](srctree/include/linux/blk-mq.h) 7 7 8 8 use crate::block::mq::{raw_writer::RawWriter, Operations, TagSet}; 9 9 use crate::{bindings, error::from_err_ptr, error::Result, sync::Arc};