diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-10-14 22:26:11 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-16 00:35:30 +0300 |
commit | 50756ebecf69276b8a908409fa32c123bb12420b (patch) | |
tree | 4c92bc7d6168728e80b465240d56a143e9dd52ef /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 93966b715b32a783a1641f5a385901bbfab04733 (diff) | |
download | linux-50756ebecf69276b8a908409fa32c123bb12420b.tar.xz |
stmmac: fix an error code in stmmac_ptp_register()
PTR_ERR(NULL) is success. We have to preserve the error code earlier.
Fixes: 7086605a6ab5 ("stmmac: fix error check when init ptp")
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions