diff options
author | Sudeep Holla <[email protected]> | 2018-01-22 14:41:07 +0000 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2018-02-07 11:51:41 +0100 |
commit | eb85c50c24cf3e96f9aa01fd3e6219ad36845a96 (patch) | |
tree | 76a08095d5ca5896730cf220032eed2753260315 /net/unix/sysctl_net_unix.c | |
parent | 3d70671667f15f4bae260541cd91330ef20d2f2e (diff) |
cpufreq: scpi: fix static checker warning cdev isn't an ERR_PTR
Commit 343a8d17fa8d (cpufreq: scpi: remove arm_big_little dependency)
leads to the following static checker warning:
drivers/cpufreq/scpi-cpufreq.c:203 scpi_cpufreq_ready()
warn: 'cdev' isn't an ERR_PTR
of_cpufreq_cooling_register() returns NULL on error. This patch removes
the incorrect IS_ERR check on the returned pointer.
Fixes: 343a8d17fa8d (cpufreq: scpi: remove arm_big_little dependency)
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Sudeep Holla <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions