Hi Pankaj, Thank you for the patch! Yet something to improve: [auto build test ERROR on drm-intel/for-linux-next] [also build test ERROR on next-20200406] [cannot apply to v5.6] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Pankaj-Bharadiya/Prefer-drm_WARN-over-WARN/20200406-210932 base: git://anongit.freedesktop.org/drm-intel for-linux-next config: x86_64-randconfig-f002-20200406 (attached as .config) compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project a43e23360657e3df82af6b96b403d1a5a3174744) reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree COMPILER=clang make.cross ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kbuild test robot All errors (new ones prefixed by >>): >> drivers/gpu/drm/i915/display/vlv_dsi.c:865:14: error: use of undeclared identifier 'state' drm_WARN_ON(state->base.dev, crtc_state->has_pch_encoder); ^ >> drivers/gpu/drm/i915/display/vlv_dsi.c:865:14: error: use of undeclared identifier 'state' 2 errors generated. vim +/state +865 drivers/gpu/drm/i915/display/vlv_dsi.c 860 861 static void bxt_dsi_enable(struct intel_encoder *encoder, 862 const struct intel_crtc_state *crtc_state, 863 const struct drm_connector_state *conn_state) 864 { > 865 drm_WARN_ON(state->base.dev, crtc_state->has_pch_encoder); 866 867 intel_crtc_vblank_on(crtc_state); 868 } 869 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org