]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/display/dpll_mgr: Prefer drm_WARN_ON over WARN_ON
authorPankaj Bharadiya <pankaj.laxminarayan.bharadiya@intel.com>
Mon, 6 Apr 2020 11:27:49 +0000 (16:57 +0530)
committerJani Nikula <jani.nikula@intel.com>
Tue, 21 Apr 2020 07:53:53 +0000 (10:53 +0300)
commit4ad53ededf0bc53bedae1ddc2b3e16a2b86faec5
tree0f3527d9f7fcf6072540a65fc1cf9899c947106d
parentce04ecd9cf1e89385e72e43e349cda48c76ab1e2
drm/i915/display/dpll_mgr: 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 at places where struct drm_device
pointer can be extracted.

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-8-pankaj.laxminarayan.bharadiya@intel.com
drivers/gpu/drm/i915/display/intel_dpll_mgr.c