diff options
author | 2016-06-10 13:27:58 +0200 | |
---|---|---|
committer | 2016-06-10 23:29:28 -0700 | |
commit | 562c5a70400c75f50d99de631666ac7cc2f03958 (patch) | |
tree | 35ece322f036c00f23f7038088e4e51651f5f87b /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | net: ipconfig: avoid warning by making ic_addrservaddr static (diff) | |
download | linux-dev-562c5a70400c75f50d99de631666ac7cc2f03958.tar.xz linux-dev-562c5a70400c75f50d99de631666ac7cc2f03958.zip |
net: mediatek: add missing return code check
The code fails to check if the scratch memory was properly allocated. Add
this check and return with an error if the allocation failed.
Signed-off-by: John Crispin <john@phrozen.org>
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