diff options
author | 2012-09-20 21:13:55 +0000 | |
---|---|---|
committer | 2012-09-21 13:47:24 -0400 | |
commit | dc9c9759ebc65d886453c335b2b5be39f87ab01e (patch) | |
tree | e22f582f886455db89bcd9023e0bbdff8b7945f1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | stmmac: fix return value check in stmmac_open_ext_timer() (diff) | |
download | linux-dev-dc9c9759ebc65d886453c335b2b5be39f87ab01e.tar.xz linux-dev-dc9c9759ebc65d886453c335b2b5be39f87ab01e.zip |
net/irda: sh_sir: fix return value check in sh_sir_set_baudrate()
In case of error, the function clk_get() returns ERR_PTR()
and never returns NULL pointer. The NULL test in the error
handling should be replaced with IS_ERR().
dpatch engine is used to auto generated this patch.
(https://github.com/weiyj/dpatch)
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions