diff options
| author | Masahiro Yamada <[email protected]> | 2024-12-25 15:33:36 +0000 |
|---|---|---|
| committer | Masahiro Yamada <[email protected]> | 2024-12-28 14:31:03 +0000 |
| commit | e1352d7ead2b8803689823cd4059c1ec72609ed4 (patch) | |
| tree | 061b8d24641ba9ed237c8dda90d364de606855ef /drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c | |
| parent | modpost: fix the missed iteration for the max bit in do_input() (diff) | |
| download | kernel-e1352d7ead2b8803689823cd4059c1ec72609ed4.tar.gz kernel-e1352d7ead2b8803689823cd4059c1ec72609ed4.zip | |
modpost: refactor do_vmbus_entry()
Optimize the size of guid_name[], as it only requires 1 additional byte
for '\0' instead of 2.
Simplify the loop by incrementing the iterator by 1 instead of 2.
Remove the unnecessary TO_NATIVE() call, as the guid is represented as
a byte stream.
Signed-off-by: Masahiro Yamada <[email protected]>
Tested-by: John Paul Adrian Glaubitz <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c')
0 files changed, 0 insertions, 0 deletions
