diff options
| author | Lijo Lazar <lijo.lazar@amd.com> | 2026-05-19 18:30:03 +0530 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-06-04 15:27:55 -0400 |
| commit | 408b17765b7ae73b299eccaa3bc2e8c7f1555741 (patch) | |
| tree | eac8da6bf6da80b088b913e7d77ebfa81edca364 /include/linux/timerqueue.h | |
| parent | 961323c26ad4c895e3b0ea1711fc41dfd6368c12 (diff) | |
drm/amd/pm: Use strscpy in profile mode parsing
Use strscpy to copy the buffer which makes it explicit that a valid NULL
terminated string gets copied. Also, make it explicit that the source
buffer can be copied safely to the temporary buffer by checking against
its size.
Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
