✗ Fi.CI.CHECKPATCH: warning for drm: Introduce struct drm_device based WARN* and use them in i915 (rev5)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



== Series Details ==

Series: drm: Introduce struct drm_device based WARN* and use them in i915 (rev5)
URL   : https://patchwork.freedesktop.org/series/72035/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
6f71daf153b5 drm/i915/display/icl_dsi: Make WARN* drm specific where drm_priv ptr is available
13279cf3994c drm/i915/display/audio: Make WARN* drm specific where drm_priv ptr is available
5ee9faa4b3ac drm/i915/display/cdclk: Make WARN* drm specific where drm_priv ptr is available
3d0ed24d2188 drm/i915/display/crt: Make WARN* drm specific where drm_priv ptr is available
6cf47ab70c5e drm/i915/display/ddi: Make WARN* drm specific where drm_device ptr is available
1191a56000f1 drm/i915/display/display: Make WARN* drm specific where drm_device ptr is available
-:491: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#491: FILE: drivers/gpu/drm/i915/display/intel_display.c:10598:
+		drm_WARN_ON(dev, !pll->info->funcs->get_hw_state(dev_priv, pll,
+						 &pipe_config->dpll_hw_state));

total: 0 errors, 0 warnings, 1 checks, 646 lines checked
0d9d563d4a09 drm/i915/display/power: Make WARN* drm specific where drm_priv ptr is available
430d6a325fd7 drm/i915/display/dp: Make WARN* drm specific where drm_device ptr is available
bdc46644b567 drm/i915/display/dpll_mgr: Make WARN* drm specific where drm_device ptr is available
-:153: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "!pll"
#153: FILE: drivers/gpu/drm/i915/display/intel_dpll_mgr.c:144:
+	if (drm_WARN_ON(&dev_priv->drm, pll == NULL))

-:171: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "!pll"
#171: FILE: drivers/gpu/drm/i915/display/intel_dpll_mgr.c:173:
+	if (drm_WARN_ON(&dev_priv->drm, pll == NULL))

total: 0 errors, 0 warnings, 2 checks, 122 lines checked
7b204e77c834 drm/i915/display/fbc: Make WARN* drm specific where drm_priv ptr is available
de817f0c314c drm/i915/fbdev: Make WARN* drm specific where drm_device ptr is available
b8f5d66817e7 drm/i915/display/hdcp: Make WARN* drm specific where drm_priv ptr is available
8c77ad9df278 drm/i915/display/hdmi: Make WARN* drm specific where drm_device ptr is available
a67b50975bc6 drm/i915/display/overlay: Make WARN* drm specific where drm_priv ptr is available
8f9fd58e125a drm/i915/display/panel: Make WARN* drm specific where drm_priv ptr is available
4f6311b92089 drm/i915/display/psr: Make WARN* drm specific where drm_priv ptr is available
-:110: WARNING:LONG_LINE: line over 100 characters
#110: FILE: drivers/gpu/drm/i915/display/intel_psr.c:772:
+			    intel_de_read(dev_priv, EDP_PSR2_CTL(dev_priv->psr.transcoder)) & EDP_PSR2_ENABLE);

-:115: WARNING:LONG_LINE: line over 100 characters
#115: FILE: drivers/gpu/drm/i915/display/intel_psr.c:775:
+		    intel_de_read(dev_priv, EDP_PSR_CTL(dev_priv->psr.transcoder)) & EDP_PSR_ENABLE);

total: 0 errors, 2 warnings, 0 checks, 99 lines checked
168795ccf96d drm/i915/display/sdvo: Make WARN* drm specific where drm_priv ptr is available
eb491ccf84d2 drm/i915/display/tc: Make WARN* drm specific where drm_priv ptr is available
-:120: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#120: FILE: drivers/gpu/drm/i915/display/intel_tc.c:415:
+		    intel_display_power_is_enabled(i915,
+					intel_aux_power_domain(dig_port)));

total: 0 errors, 0 warnings, 1 checks, 60 lines checked
bcf688f26b01 drm/i915/display: Make WARN* drm specific where drm_device ptr is available
c747e593c66a drm/i915/gvt: Make WARN* drm specific where drm_priv ptr is available
c7bb5c2d58a4 drm/i915/gvt: Make WARN* drm specific where vgpu ptr is available
-:296: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#296: FILE: drivers/gpu/drm/i915/gvt/handlers.c:1373:
+		drm_WARN_ONCE(&i915->drm, 1,
+				"VM(%d): iGVT-g doesn't support GuC\n",

-:310: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#310: FILE: drivers/gpu/drm/i915/gvt/handlers.c:1389:
+		drm_WARN(&i915->drm, 1,
+				"VM(%d): Use physical address for TRTT!\n",

total: 0 errors, 0 warnings, 2 checks, 520 lines checked

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx



[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux