[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for treewide: address gcc-11 -Wstringop-overread warnings

Patchwork patchwork at emeril.freedesktop.org
Mon Mar 22 19:10:52 UTC 2021


== Series Details ==

Series: treewide: address gcc-11 -Wstringop-overread warnings
URL   : https://patchwork.freedesktop.org/series/88295/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
8b23b18b19c9 x86: compressed: avoid gcc-11 -Wstringop-overread warning
-:15: WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#15: 
    inlined from ‘extract_kernel’ at arch/x86/boot/compressed/misc.c:442:2:

total: 0 errors, 1 warnings, 0 checks, 8 lines checked
6128f7213e8c x86: tboot: avoid Wstringop-overread-warning
-:13: WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#13: 
   70 |         if (memcmp(&tboot_uuid, &tboot->uuid, sizeof(tboot->uuid))) {

total: 0 errors, 1 warnings, 0 checks, 57 lines checked
86478fbc483a security: commoncap: fix -Wstringop-overread warning
-:13: WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#13: 
  440 |                                 memcpy(&nscap->data, &cap->data, sizeof(__le32) * 2 * VFS_CAP_U32);

total: 0 errors, 1 warnings, 0 checks, 8 lines checked
5dbb709eb530 ath11: Wstringop-overread warning
-:10: WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#10: 
    inlined from 'ath11k_peer_assoc_prepare' at drivers/net/wireless/ath/ath11k/mac.c:1632:2:

total: 0 errors, 1 warnings, 0 checks, 8 lines checked
85a87603017e qnx: avoid -Wstringop-overread warning
c20cb7a6e190 cgroup: fix -Wzero-length-bounds warnings
-:22: WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#22: 
  422 |         struct cgroup_subsys_state __rcu *subsys[CGROUP_SUBSYS_COUNT];

-:40: CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'CGROUP_SUBSYS_COUNT > 0'
#40: FILE: kernel/cgroup/cgroup.c:459:
+	if (ss && (CGROUP_SUBSYS_COUNT > 0))

total: 0 errors, 1 warnings, 1 checks, 51 lines checked
a23dcecdfe93 ARM: sharpsl_param: work around -Wstringop-overread warning
-:15: WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#15: 
   43 |         memcpy(&sharpsl_param, param_start(PARAM_BASE), sizeof(struct sharpsl_param_info));

total: 0 errors, 1 warnings, 0 checks, 10 lines checked
ce0bcacc57ff atmel: avoid gcc -Wstringop-overflow warning
-:12: WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#12: 
cc1: error: writing 4 bytes into a region of size between 18446744073709551613 and 2 [-Werror=stringop-overflow=]

-:44: WARNING:NETWORKING_BLOCK_COMMENT_STYLE: networking block comments don't use an empty /* line, use /* Comment...
#44: FILE: drivers/net/wireless/atmel/atmel.c:2885:
+		/*
+		 * nothing after here directly accessible:

total: 0 errors, 2 warnings, 0 checks, 41 lines checked
f449f33af4a3 scsi: lpfc: fix gcc -Wstringop-overread warning
-:11: WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#11: 
  518 |                         strnlen(LPFC_NVME_INFO_MORE_STR, PAGE_SIZE - 1)

-:33: WARNING:STRLCPY: Prefer strscpy over strlcpy - see: https://lore.kernel.org/r/CAHk-=wgfRnXz0W3D37d01q3JFkr_i_uTL=V6A6G1oUZcprmknw@mail.gmail.com/
#33: FILE: drivers/scsi/lpfc/lpfc_attr.c:515:
+		strlcpy(buf + PAGE_SIZE - 1 - sizeof(LPFC_NVME_INFO_MORE_STR),

total: 0 errors, 2 warnings, 0 checks, 13 lines checked
e77df84376b1 drm/i915: avoid stringop-overread warning on pri_latency
-:12: WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#12: 
    inlined from ‘ilk_setup_wm_latency’ at drivers/gpu/drm/i915/intel_pm.c:3108:3:

total: 0 errors, 1 warnings, 0 checks, 14 lines checked
e9066fbd700e drm/i915/dp: fix array overflow warning
-:15: WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#15: 
 4556 |                     !drm_dp_channel_eq_ok(&esi[10], intel_dp->lane_count)) {

total: 0 errors, 1 warnings, 0 checks, 8 lines checked




More information about the Intel-gfx mailing list