diff options
| author | Alex Hung <alex.hung@amd.com> | 2026-09-10 14:06:40 -0600 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-09-23 14:17:40 -0400 |
| commit | a3e8dc37a616db6fddbae80a83f95a3ac9a949a7 (patch) | |
| tree | 660e76c40ed16e5e5eabb19454f8b50ae3c3e17a /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | e4dca268eea60bcae566262daecc5e067799528d (diff) | |
| download | linux-a3e8dc37a616db6fddbae80a83f95a3ac9a949a7.tar.gz linux-a3e8dc37a616db6fddbae80a83f95a3ac9a949a7.zip | |
drm/amd/display: Fix KUnit checkpatch warnings
[WHY]
Clean up the AMDGPU DM KUnit tests after checkpatch reported an
invalid sizeof(void) allocation, typed kzalloc patterns, and a
repeated word in a kernel-doc summary. Clarify the test name that
covers an active CRTC state transition.
[HOW]
- Use sizeof(cpu_ptr) for the fake CPU pointer allocation.
- Replace typed kzalloc(sizeof(*object), ...) calls with
kzalloc_obj(*object, ...) in the connector, IRQ, plane, and
atomic-state tests.
- Rename the CRTC active-state test and update its kernel-doc and
suite registration.
Assisted-by: Copilot:GPT-5.6-Luna
Reviewed-by: Jerry Zuo <jerry.zuo@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: George Zhang <george.zhang@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
