summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2024-12-26 00:33:36 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2024-12-28 23:31:03 +0900
commite1352d7ead2b8803689823cd4059c1ec72609ed4 (patch)
tree061b8d24641ba9ed237c8dda90d364de606855ef /scripts/generate_rust_analyzer.py
parentbf36b4bf1b9a7a0015610e2f038ee84ddb085de2 (diff)
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 <masahiroy@kernel.org> Tested-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions