diff options
author | 2023-02-14 19:38:11 +0530 | |
---|---|---|
committer | 2023-02-14 08:21:01 -0800 | |
commit | 9d5b9ad97f83b2390a6006eeb5ae5e48ec4298ce (patch) | |
tree | d0c0760a1eca14bec9fe14aca79dcd3a0fe0060d /scripts/generate_rust_analyzer.py | |
parent | remoteproc: mediatek: Check the SCP image format (diff) | |
download | linux-rng-9d5b9ad97f83b2390a6006eeb5ae5e48ec4298ce.tar.xz linux-rng-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 <dmitry.baryshkov@linaro.org>
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/1676383691-29738-1-git-send-email-quic_mojha@quicinc.com
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions