✗ CI.checkpatch: warning for drm/xe : avoid the risky function sprintf (rev2)
Patchwork
patchwork at emeril.freedesktop.org
Fri Mar 22 07:38:41 UTC 2024
== Series Details ==
Series: drm/xe : avoid the risky function sprintf (rev2)
URL : https://patchwork.freedesktop.org/series/131462/
State : warning
== Summary ==
+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
a9eb1ac8298ef9f9146567c29fa762d8e9efa1ef
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 76c5214161427d7b65882eb6606da595e91dd4d3
Author: Bommu Krishnaiah <krishnaiah.bommu at intel.com>
Date: Thu Dec 7 03:19:03 2023 +0530
drm/xe : avoid the risky function sprintf
These errors were highlighted by Static analyzer. Used snprintf instead of sprint.
Static analyzer Reported "Calling risky function (DC.STRING_BUFFER)”
v2: Removed hard coded values abd used sizeof()
Signed-off-by: Bommu Krishnaiah <krishnaiah.bommu at intel.com>
Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray at intel.com>
Cc: Tejas Upadhyay <tejas.upadhyay at intel.com>
+ /mt/dim checkpatch 236ae2b6b695ecedc3cf4453a1679d53b2e06f32 drm-intel
76c521416142 drm/xe : avoid the risky function sprintf
-:9: WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line (possible unwrapped commit description?)
#9:
These errors were highlighted by Static analyzer. Used snprintf instead of sprint.
total: 0 errors, 1 warnings, 0 checks, 208 lines checked
More information about the Intel-xe
mailing list