diff options
author | 2017-08-26 09:12:05 +0300 | |
---|---|---|
committer | 2017-08-28 15:39:55 -0700 | |
commit | c6b4ee9eba97b64750d5e8be31c04b70592592b7 (patch) | |
tree | 6e112756f279016f31a68fda3c47f49c839df76c /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | Merge branch 'sparc64-16gb-hugepages' (diff) | |
download | wireguard-linux-c6b4ee9eba97b64750d5e8be31c04b70592592b7.tar.xz wireguard-linux-c6b4ee9eba97b64750d5e8be31c04b70592592b7.zip |
sparc64: vcc: Check for IS_ERR() instead of NULL
The tty_alloc_driver() function never returns NULL, it returns error
pointers on error.
Fixes: ce808b746325 ("sparc64: vcc: TTY driver initialization and cleanup")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions