diff options
author | Anson Huang <[email protected]> | 2020-07-30 09:22:49 +0800 |
---|---|---|
committer | Shawn Guo <[email protected]> | 2020-08-22 12:37:18 +0800 |
commit | 0d03f0292659456f5a6322ff605253b8ce4b8d52 (patch) | |
tree | 820a67e2a12430345c59fc7ac254ba1e9faa6079 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 (diff) |
clk: imx6sl: Use BIT(x) to avoid shifting signed 32-bit value by 31 bits
Use readl_relaxed() instead of __raw_readl(), and use BIT(x)
instead of (1 << X) to fix below build warning reported by kernel
test robot:
drivers/clk/imx/clk-imx6sl.c:149:49: warning: Shifting signed 32-bit
value by 31 bits is undefined behaviour [shiftTooManyBitsSigned]
while (!(__raw_readl(anatop_base + PLL_ARM) & BM_PLL_ARM_LOCK))
Signed-off-by: Anson Huang <[email protected]>
Reported-by: kernel test robot <[email protected]>
Reviewed-by: Stephen Boyd <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions