summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@kernel.org>2025-06-20 13:50:27 -0700
committerEric Biggers <ebiggers@kernel.org>2025-06-30 09:31:57 -0700
commita98e0d69d544ec6b1510940c901867b4ecd8ba1d (patch)
treeeff5113d16631ee6b7ee123549f36b01473f7c1a /scripts/lib/kdoc/kdoc_files.py
parent8c7c675155ce3f0f6b12c57a47298a390661652d (diff)
nvmem: layouts: Switch from crc32() to crc32_le()
u_boot_env_parse() calls crc32() from within a scope that has a uint32_t variable named crc32. This works only because crc32() is actually a macro that expands to crc32_le(). I'm planning to make it an inline function instead, which will make the usual C scoping rules apply to it. Therefore, update u_boot_env_parse() to be compatible with that. To do so, just call crc32_le() directly instead of using the crc32() alias. (An alternative would be to rename the local variable.) Acked-by: Srinivas Kandagatla <srini@kernel.org> Link: https://lore.kernel.org/r/20250620205027.23403-1-ebiggers@kernel.org Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions