diff options
author | Jiri Pirko <[email protected]> | 2018-05-17 12:06:43 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-05-17 16:23:29 -0400 |
commit | 3b734ff604d32e3e1d7db877d801818967ad325f (patch) | |
tree | 94e4b4efbfe94058b2ef64c0d05b6a6b5ff5c2d9 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 6d9f868fc7d3b3137638895d659b986a49253a7d (diff) |
nfp: flower: fix error path during representor creation
Don't store repr pointer to reprs array until the representor is
successfully created. This avoids message about "representor
destruction" even when it was never created. Also it cleans-up the flow.
Also, check return value after port alloc.
Signed-off-by: Jiri Pirko <[email protected]>
Reviewed-by: Jakub Kicinski <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions