diff options
| author | Jon Bloomfield <[email protected]> | 2018-09-27 17:23:17 +0000 |
|---|---|---|
| committer | Jon Bloomfield <[email protected]> | 2019-11-05 19:37:54 +0000 |
| commit | 0546a29cd884fb8184731c79ab008927ca8859d0 (patch) | |
| tree | 43bfcd52bc33f7ce95a871075acc4447e8f7e7ad /tools/perf/util/annotate.c | |
| parent | drm/i915: Add gen9 BCS cmdparsing (diff) | |
| download | kernel-0546a29cd884fb8184731c79ab008927ca8859d0.tar.gz kernel-0546a29cd884fb8184731c79ab008927ca8859d0.zip | |
drm/i915/cmdparser: Use explicit goto for error paths
In the next patch we will be adding a second valid
termination condition which will require a small
amount of refactoring to share logic with the BB_END
case.
Refactor all error conditions to jump to a dedicated
exit path, with 'break' reserved only for a successful
parse.
Cc: Tony Luck <[email protected]>
Cc: Dave Airlie <[email protected]>
Cc: Takashi Iwai <[email protected]>
Cc: Tyler Hicks <[email protected]>
Signed-off-by: Jon Bloomfield <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.c')
0 files changed, 0 insertions, 0 deletions
