drm/xe : avoid the risky function sprintf
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest2 patches 1 replyIn review
- v32 patches 2 repliesSuperseded
- v21 patch 2 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 1 patch | 1 reply | Superseded |
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | drm/xe: prefer snprintf over sprintfdrivers/ drivers/ drivers/ +2 more | +11 | 0 replies | |
| 2/2 | drm/xe/xe_hw_engine_class_sysfs: use sysfs_emit() for attr's _show()drivers/ | +18 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Himal Prasad Ghimiray |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/2] drm/xe : avoid the risky function sprintf
drm/xe/xe_hw_engine_class_sysfs: use sysfs_emit() for attr's _show()
sprintf() is deprecated for sysfs, use preferred sysfs_emit() instead.
drm/xe: prefer snprintf over sprintf
since the sprintf() function lacks built-in protection against buffer overflows using the snprintf() function.
Bommu Krishnaiah (2):
drm/xe: prefer snprintf over sprintf drm/xe/xe_hw_engine_class_sysfs: use sysfs_emit() for attr's _show()
drivers/gpu/drm/xe/xe_debugfs.c | 2 +- drivers/gpu/drm/xe/xe_exec_queue.c | 12 +++---- drivers/gpu/drm/xe/xe_gt_debugfs.c | 2 +- drivers/gpu/drm/xe/xe_gt_idle.c | 4 +-- drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.c | 36 +++++++++---------- drivers/gpu/drm/xe/xe_hw_fence.c | 2 +- 6 files changed, 29 insertions(+), 29 deletions(-)
Signature · 1 line
2.25.1