✗ Fi.CI.CHECKPATCH: warning for Fix divide-by-zero regression on DP MST unplug with nouveau
Patchwork
patchwork at emeril.freedesktop.org
Tue Mar 12 03:22:17 UTC 2024
== Series Details ==
Series: Fix divide-by-zero regression on DP MST unplug with nouveau
URL : https://patchwork.freedesktop.org/series/131002/
State : warning
== Summary ==
Error: dim checkpatch failed
0a773e72b268 Fix divide-by-zero regression on DP MST unplug with nouveau
-:14: WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line (possible unwrapped commit description?)
#14:
Code: c6 b8 01 00 00 00 75 61 01 c6 41 0f af f3 41 0f af f1 c1 e1 04 48 63 c7 31 d2 89 ff 48 8b 5d f8 c9 48 0f af f1 48 8d 44 06 ff <48> f7 f7 31 d2 31 c9 31 f6 31 ff 45 31 c0 45 31 c9 45 31 d2 45 31
-:84: WARNING:BRACES: braces {} are not necessary for single statement blocks
#84: FILE: drivers/gpu/drm/display/drm_dp_helper.c:4114:
+ if (bpp_x16 == 0) {
+ DRM_DEBUG("drm_dp_bw_overhead called with bpp 0\n");
+ }
-:85: WARNING:EMBEDDED_FUNCTION_NAME: Prefer using '"%s...", __func__' to using 'drm_dp_bw_overhead', this function's name, in a string
#85: FILE: drivers/gpu/drm/display/drm_dp_helper.c:4115:
+ DRM_DEBUG("drm_dp_bw_overhead called with bpp 0\n");
-:87: WARNING:BRACES: braces {} are not necessary for single statement blocks
#87: FILE: drivers/gpu/drm/display/drm_dp_helper.c:4117:
+ if (lane_count == 0 || hactive == 0 || bpp_x16 == 0) {
+ return 0;
+ }
total: 0 errors, 4 warnings, 0 checks, 13 lines checked
More information about the Intel-gfx
mailing list