diff options
author | Jani Nikula <jani.nikula@intel.com> | 2022-08-30 12:34:11 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2022-08-31 18:34:11 +0300 |
commit | 03e067bc731c7cf8fba403ecfe4e2a85b49a11c0 (patch) | |
tree | f5958da73fb82c1fe2fcb196b637482dd022ef0e /tools/perf/scripts/python/libxed.py | |
parent | 6f10c4d62377c8a0b013ba98230abdae71cd7723 (diff) |
drm/i915/fence: replace BUG_ON() with BUILD_BUG_ON()
Avoid BUG_ON(). Since __i915_sw_fence_init() is always called via a
wrapper macro, we can replace it with a compile time BUILD_BUG_ON().
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220830093411.1511040-5-jani.nikula@intel.com
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions