diff options
author | Marek Vasut <marex@denx.de> | 2024-04-19 08:01:12 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2024-04-26 12:26:09 +0300 |
commit | 31b57788a5024d3a114b28dad224a93831b90b5f (patch) | |
tree | 3d59c0aca0e87ff3e96750058b467c9d80d0a7a8 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 01474b70a779319db6d3d2d67a7232a7b4202029 (diff) | |
download | linux-31b57788a5024d3a114b28dad224a93831b90b5f.tar.xz |
hwrng: stm32 - use logical OR in conditional
The conditional is used to check whether err is non-zero OR whether
reg variable is non-zero after clearing bits from it. This should be
done using logical OR, not bitwise OR, fix it.
Fixes: 6b85a7e141cb ("hwrng: stm32 - implement STM32MP13x support")
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions