commit | 867656f88525ee94def67c9176fd354ae699d2f3 | [log] [tgz] |
---|---|---|
author | XiaoDong Huang <derrick.huang@rock-chips.com> | Sun Jun 25 16:20:08 2023 +0800 |
committer | XiaoDong Huang <derrick.huang@rock-chips.com> | Mon Jun 17 10:57:29 2024 +0800 |
tree | c89e8740c01f0143fa8155e98f0818b1b7702e38 | |
parent | 4fad4db1659ac0780ffef475dd49c964870e3a2e [diff] |
fix(rockchip): add parenthesis for BITS_SHIFT macro Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com> Change-Id: Ideac271469f0753c5b7aaed7bb07a792b64ae01e
diff --git a/plat/rockchip/common/include/plat_private.h b/plat/rockchip/common/include/plat_private.h index 465f372..44a0c46 100644 --- a/plat/rockchip/common/include/plat_private.h +++ b/plat/rockchip/common/include/plat_private.h
@@ -49,7 +49,7 @@ #endif #ifndef BITS_SHIFT -#define BITS_SHIFT(bits, shift) (bits << (shift)) +#define BITS_SHIFT(bits, shift) ((bits) << (shift)) #endif #ifndef BITS_WITH_WMASK