diff options
| author | 2026-09-29 11:34:04 +0200 | |
|---|---|---|
| committer | 2026-09-29 05:46:56 -0600 | |
| commit | c595572d0e49c79fcefe8db8e3e4f4e6e1fab734 (patch) | |
| tree | 88669bc08d1167a8c512435410b5f6bb2068dc31 /scripts/Makefile.thinlto | |
| parent | rust: block: gen_disk: set fops.owner from driver module pointer (diff) | |
rust: block: Fix GenDiskBuilder block size documentation
GenDiskBuilder::validate_block_size() accepts powers of two from 512
through PAGE_SIZE, but the documentation for logical_block_size() and
physical_block_size() states that the maximum is 4096.
Use PAGE_SIZE for both documented upper bounds so that the documentation
matches validation on architectures with larger page sizes.
Signed-off-by: Sophon Z <aiqubits@hotmail.com>
Acked-by: Andreas Hindborg <a.hindborg@kernel.org>
Link: https://msgid.link/20260831-fix-gendisk-block-size-docs-v1-1-900546005799@hotmail.com
Signed-off-by: Andreas Hindborg <a.hindborg@kernel.org>
Link: https://patch.msgid.link/20260929-rust-block-for-v7-4-rc1-b4-v1-6-642a4c1aebd7@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
