diff options
author | 2015-09-21 19:26:02 +0300 | |
---|---|---|
committer | 2015-10-09 22:17:34 +0200 | |
commit | a6eed752f5fb40990eb28fddb2b93258fb7e3be0 (patch) | |
tree | 8f70379f4e4d35cd6d20f49164a07cea9262049b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | PM / OPP: Move cpu specific code to opp/cpu.c (diff) | |
download | wireguard-linux-a6eed752f5fb40990eb28fddb2b93258fb7e3be0.tar.xz wireguard-linux-a6eed752f5fb40990eb28fddb2b93258fb7e3be0.zip |
PM / OPP: passing NULL to PTR_ERR()
The code was using PTR_ERR(NULL) which causes a static checker warning.
I have fixed up the printks and changed the return to -ENOENT.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions