diff options
| author | Eric Biggers <[email protected]> | 2025-06-20 20:50:27 +0000 |
|---|---|---|
| committer | Eric Biggers <[email protected]> | 2025-06-30 16:31:57 +0000 |
| commit | a98e0d69d544ec6b1510940c901867b4ecd8ba1d (patch) | |
| tree | eff5113d16631ee6b7ee123549f36b01473f7c1a /lib/crypto/mpi/mpi-sub-ui.c | |
| parent | lib/crc: crc32: Document crc32_le(), crc32_be(), and crc32c() (diff) | |
| download | kernel-a98e0d69d544ec6b1510940c901867b4ecd8ba1d.tar.gz kernel-a98e0d69d544ec6b1510940c901867b4ecd8ba1d.zip | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Eric Biggers <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions
