diff options
author | Gregory CLEMENT <gregory.clement@bootlin.com> | 2023-12-15 16:37:06 +0100 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2023-12-18 11:22:57 +0530 |
commit | 0990319a0400db1d6069b5549327cd9105a266d5 (patch) | |
tree | bd33a7174d63606d414be6203e78122cb4c7ef34 /scripts/gdb/linux/modules.py | |
parent | c4a5118a3ae1eadc687d84eef9431f9e13eb015c (diff) |
cpufreq: armada-8k: Fix parameter type warning
The second parameter of clk_get() is of type 'const char *', so use
NULL instead of the integer 0 to resolve a sparse warning:
drivers/cpufreq/armada-8k-cpufreq.c:60:40: warning: Using plain integer as NULL pointer
drivers/cpufreq/armada-8k-cpufreq.c:168:40: warning: Using plain integer as NULL pointer
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions