]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/display/icl_dsi: Prefer drm_WARN_ON over WARN_ON
authorPankaj Bharadiya <pankaj.laxminarayan.bharadiya@intel.com>
Mon, 6 Apr 2020 11:27:43 +0000 (16:57 +0530)
committerJani Nikula <jani.nikula@intel.com>
Tue, 21 Apr 2020 06:49:10 +0000 (09:49 +0300)
commitc9530961bb07b17d3142f029727e4704d6dcf3fd
treefd3a17ceca00f9be5f78fb09f8526efb70846763
parentff8a762ad339456c441c1b24f73b78c4e6a9e5c1
drm/i915/display/icl_dsi: 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-2-pankaj.laxminarayan.bharadiya@intel.com
drivers/gpu/drm/i915/display/icl_dsi.c