diff options
| author | Mukesh Ojha <[email protected]> | 2023-02-14 14:08:11 +0000 |
|---|---|---|
| committer | Bjorn Andersson <[email protected]> | 2023-02-14 16:21:01 +0000 |
| commit | 9d5b9ad97f83b2390a6006eeb5ae5e48ec4298ce (patch) | |
| tree | d0c0760a1eca14bec9fe14aca79dcd3a0fe0060d /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
| parent | remoteproc: mediatek: Check the SCP image format (diff) | |
| download | kernel-9d5b9ad97f83b2390a6006eeb5ae5e48ec4298ce.tar.gz kernel-9d5b9ad97f83b2390a6006eeb5ae5e48ec4298ce.zip | |
remoteproc: qcom: replace kstrdup with kstrndup
Since, there is no guarantee that region.name will be 0-terminated
from the firmware side, replace kstrdup with kstrndup.
Suggested-by: Dmitry Baryshkov <[email protected]>
Signed-off-by: Mukesh Ojha <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions
