diff options
author | Russell King <[email protected]> | 2014-07-08 00:23:30 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2014-07-07 21:21:23 -0700 |
commit | ffdce2cc6a18e3460fd31a399934004bf4cf6539 (patch) | |
tree | 995647ca7efe3a7c9c8fd369c2dd66334122099b /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 8b7c9efa018f96e58fa379ddb8c03f002c4f6a84 (diff) |
net: fec: fix missing kmalloc() failure check in fec_enet_alloc_buffers()
fec_enet_alloc_buffers() assumes that kmalloc() will never fail, which
is an invalid assumption. Fix this by implementing a common error
cleanup path, and use it to also clean up after failed bounce buffer
allocation.
Acked-by: Fugang Duan <[email protected]>
Signed-off-by: Russell King <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions