diff options
| author | Youssef Samir <quic_yabdulra@quicinc.com> | 2024-12-13 21:51:10 +0300 |
|---|---|---|
| committer | Jeffrey Hugo <quic_jhugo@quicinc.com> | 2025-01-17 19:04:09 +0300 |
| commit | 931a765c2d95c46cb818eccc641006c86697486f (patch) | |
| tree | 98dfca5c2d3992e78fec7a6ce0800ef2716037a1 /include | |
| parent | 713a341836942d2b3ea4463377cb8c8f7fc37a26 (diff) | |
| download | linux-931a765c2d95c46cb818eccc641006c86697486f.tar.xz | |
accel/qaic: Change aic100_image_table definition
aic100_image_table is currently defined as a "const char *" array,
this can potentially lead to the accidental modification of the
pointers inside. Also, checkpatch.pl gives a warning about it.
Change the type to a "const char * const" array to make the pointers
immutable, preventing accidental modification of the images' paths.
Signed-off-by: Youssef Samir <quic_yabdulra@quicinc.com>
Reviewed-by: Carl Vanderlip <quic_carlv@quicinc.com>
Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Signed-off-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Reviewed-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241213185110.2469159-1-quic_jhugo@quicinc.com
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
