]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/display/atomic_plane: Prefer drm_WARN_ON over WARN_ON
authorPankaj Bharadiya <pankaj.laxminarayan.bharadiya@intel.com>
Mon, 6 Apr 2020 11:27:44 +0000 (16:57 +0530)
committerJani Nikula <jani.nikula@intel.com>
Tue, 21 Apr 2020 06:49:30 +0000 (09:49 +0300)
commit1e6850ee4c44cfb6fea9c4f3f7034f815c7874dd
tree56627a955571801b38a1a931d93b3a2234904775
parent61198fe1bf48246d20de9d608a89687932e4dad6
drm/i915/display/atomic_plane: Prefer drm_WARN_ON over WARN_ON

struct drm_device specific drm_WARN* macros include device information
in the backtrace, so we know what device the warnings originate from.

Prefer drm_WARN_ON over WARN_ON.

Signed-off-by: Pankaj Bharadiya <pankaj.laxminarayan.bharadiya@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200406112800.23762-3-pankaj.laxminarayan.bharadiya@intel.com
drivers/gpu/drm/i915/display/intel_atomic_plane.c