diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-09-21 19:26:02 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-10-09 22:17:34 +0200 |
commit | a6eed752f5fb40990eb28fddb2b93258fb7e3be0 (patch) | |
tree | 8f70379f4e4d35cd6d20f49164a07cea9262049b /drivers/md/dm-log-userspace-transfer.c | |
parent | f59d3ee8480d30f41914cb4bed5086237e8507b0 (diff) | |
download | blackbird-op-linux-a6eed752f5fb40990eb28fddb2b93258fb7e3be0.tar.gz blackbird-op-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 'drivers/md/dm-log-userspace-transfer.c')
0 files changed, 0 insertions, 0 deletions