diff options
author | Liam Beguin <liambeguin@gmail.com> | 2022-11-19 22:02:54 -0500 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2022-12-08 17:18:42 -0800 |
commit | 6c634446b865738da8ea753b181722525128958e (patch) | |
tree | 9075f4a72b16babc8fee69012d9ab41c190f498b /scripts | |
parent | 0b8ba891ad4d1ef6bfa4c72efc83f9f9f855f68b (diff) |
clk: lmk04832: declare variables as const when possible
Fix the following warning reported by the kernel test robot.
cppcheck possible warnings: (new ones prefixed by >>, may not real problems)
>> drivers/clk/clk-lmk04832.c:357:15: warning: Variable 'pll2_p' can be declared with const [constVariable]
unsigned int pll2_p[] = {8, 2, 2, 3, 4, 5, 6, 7};
Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/all/202203312017.5YW13Jr4-lkp@intel.com/
Signed-off-by: Liam Beguin <liambeguin@gmail.com>
Link: https://lore.kernel.org/r/20221120030257.531153-2-liambeguin@gmail.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions