diff options
| author | Zhang Yi <[email protected]> | 2024-03-20 11:05:46 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2024-04-25 12:23:54 +0000 |
| commit | 1a61d74932d460f47ffaf08927dbe9d43315841f (patch) | |
| tree | e61d95634f42e89ebe46455ce16cd6104f8676e5 /drivers/gpu/drm/amd/pm/amdgpu_pm.c | |
| parent | iomap: don't increase i_size if it's not a write operation (diff) | |
| download | kernel-1a61d74932d460f47ffaf08927dbe9d43315841f.tar.gz kernel-1a61d74932d460f47ffaf08927dbe9d43315841f.zip | |
iomap: use a new variable to handle the written bytes in iomap_write_iter()
In iomap_write_iter(), the status variable used to receive the return
value from iomap_write_end() is confusing, replace it with a new written
variable to represent the written bytes in each cycle, no logic changes.
Signed-off-by: Zhang Yi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions
