]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/display/frontbuffer: Prefer drm_WARN_ON over WARN_ON
authorPankaj Bharadiya <pankaj.laxminarayan.bharadiya@intel.com>
Mon, 6 Apr 2020 11:27:50 +0000 (16:57 +0530)
committerJani Nikula <jani.nikula@intel.com>
Tue, 21 Apr 2020 07:54:22 +0000 (10:54 +0300)
commitf7a4610e82c3e9d0bb4ded2409f821c5bd2c0a8c
tree55afd59df442a347e09cfc6ad183dd5ce162f1fd
parent64e69b9d44d57a8fdf264369d18e7b95afdacf21
drm/i915/display/frontbuffer: 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-9-pankaj.laxminarayan.bharadiya@intel.com
drivers/gpu/drm/i915/display/intel_frontbuffer.c