diff options
author | Boris Mittelberg <bmbm@google.com> | 2022-11-10 16:36:34 -0800 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-11-15 19:01:34 +0000 |
commit | 8d761517dcba7874655cabe06ffaf2fc761abbc0 (patch) | |
tree | 3d6ec22245514988bdf1580f01dbe3ab1e9019ae /board/phaser | |
parent | 9a8aa751b99cfead9ce29654d97318d3b2531741 (diff) | |
download | chrome-ec-stabilize-15245.B-main.tar.gz |
cortex-m mpu: illegal shift fixstabilize-15245.B-main
Shifting left by 32 is undefined behavior. An AND operation with
mask of 0xffffffff is meaningless, so just avoid it.
BUG=b:64477774
BRANCH=none
TEST=none
Signed-off-by: Boris Mittelberg <bmbm@google.com>
Change-Id: Ibcb3359f453345caee01936c074a9c0ae5aff7dc
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4021135
Tested-by: Peter Marheine <pmarheine@chromium.org>
Reviewed-by: Peter Marheine <pmarheine@chromium.org>
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Diffstat (limited to 'board/phaser')
0 files changed, 0 insertions, 0 deletions