diff options
author | Anson Huang <Anson.Huang@nxp.com> | 2020-07-30 04:22:49 +0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2020-08-22 07:37:18 +0300 |
commit | 0d03f0292659456f5a6322ff605253b8ce4b8d52 (patch) | |
tree | 820a67e2a12430345c59fc7ac254ba1e9faa6079 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 (diff) | |
download | linux-0d03f0292659456f5a6322ff605253b8ce4b8d52.tar.xz |
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 <Anson.Huang@nxp.com>
Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions