summaryrefslogtreecommitdiff
path: root/include/linux/i2c/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2026-01-30 22:32:46 +0900
committerDanilo Krummrich <dakr@kernel.org>2026-02-01 22:23:59 +0100
commit726c262060252e13d5805f9acc382fb9f081ba07 (patch)
tree306c8cd3023fd87caf5ceb8397b7e9c087633daa /include/linux/i2c/git@git.tavy.me:linux.git
parent72bfbe50ffbf36937c77b39e19143aabdb69b080 (diff)
rust: io: move MIN_SIZE and io_addr_assert to IoKnownSize
`MIN_SIZE` and `io_addr_assert` are only ever used for IO types which implement `IoKnownSize` and do not make sense for types that don't. It looks like they should have been there since the beginning, so move them while the code is still fresh. Also update `IoKnownSize`'s documentation since it is not just a marker trait anymore. Fixes: 121d87b28e1d ("rust: io: separate generic I/O helpers from MMIO implementation") Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Link: https://patch.msgid.link/20260130-io-min-size-v1-1-65a546e3104d@nvidia.com [ Fix typo in commit message. - Danilo ] Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions