aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2016-07-12 00:17:28 +0000
committerDavid S. Miller <davem@davemloft.net>2016-07-11 19:48:10 -0700
commit12c2e32f14da857b58af281b029d4549d24c3292 (patch)
tree0dac404657ca43d661cd913925a9e9ecf522ce0e /tools/perf/scripts/python/call-graph-from-postgresql.py
parentb53: Fix build warning. (diff)
downloadlinux-12c2e32f14da857b58af281b029d4549d24c3292.tar.gz
linux-12c2e32f14da857b58af281b029d4549d24c3292.zip
net: ethernet: bgmac: Fix return value check in bgmac_probe()
In case of error, the function devm_ioremap_resource() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). 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/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions