diff options
| author | Yilin Chen <1479826151@qq.com> | 2026-07-07 16:10:30 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-07-17 15:23:29 +0200 |
| commit | 4b17dfb3e22fdccf74839d2fc52362ddc257024e (patch) | |
| tree | e96d4a309151643f4c19be51bbd7326382a80b7b /drivers/android | |
| parent | 0f7f34c67ead630bf485c805a95fc540d80f2c7f (diff) | |
| download | linux-4b17dfb3e22fdccf74839d2fc52362ddc257024e.tar.gz linux-4b17dfb3e22fdccf74839d2fc52362ddc257024e.zip | |
rust: miscdevice: fix write_iter safety docs
The write_iter callback consumes data from the supplied iov_iter and
wraps it as an IovIterSource.
Its Safety docs required a valid iov_iter for writing, but the
implementation and the IovIterSource contract require one that is valid
for reading. Update the docs to match that direction.
Assisted-by: Codex:GPT-5
Signed-off-by: Yilin Chen <1479826151@qq.com>
Link: https://patch.msgid.link/tencent_8CD671E0F35223030143524D045F3BCAD506@qq.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/android')
0 files changed, 0 insertions, 0 deletions
