[PATCH 0/5] drm/i915: some BUG_ON() removals

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Avoid BUG_ON(). Remove some of the low-hanging fruit.

Jani Nikula (5):
  drm/i915/crt: replace BUG_ON() with drm_WARN_ON()
  drm/i915/dpll: replace BUG_ON() with drm_WARN_ON()
  drm/i915/pch: replace BUG_ON() with drm_WARN_ON()
  drm/i915/perf: replace BUG_ON() with WARN_ON()
  drm/i915/fence: replace BUG_ON() with BUILD_BUG_ON()

 drivers/gpu/drm/i915/display/intel_crt.c        | 3 ++-
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c   | 6 ++++--
 drivers/gpu/drm/i915/display/intel_pch_refclk.c | 2 +-
 drivers/gpu/drm/i915/i915_perf.c                | 3 ++-
 drivers/gpu/drm/i915/i915_sw_fence.c            | 2 --
 drivers/gpu/drm/i915/i915_sw_fence.h            | 6 +++++-
 6 files changed, 14 insertions(+), 8 deletions(-)

-- 
2.34.1




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux