author | Praveen Rao <prao@ti.com> | |
Tue, 1 Sep 2020 18:20:52 +0000 (13:20 -0500) | ||
committer | Angela Stegmaier <angelabaker@ti.com> | |
Sat, 5 Sep 2020 14:59:21 +0000 (09:59 -0500) | ||
commit | 51733c738fd2d3248e4ac3755462364a1a5017e7 | |
tree | 4033939cce59ca9901b597005c24ff5bc02bd9a9 | tree | snapshot (tar.xz tar.gz zip) |
parent | 6da9a4b84c5ac0da2ad7a4c5ec1aa3069b1d7921 | commit | diff |
PDK-7757: PSDKQA-198: QNX: Fix the IPC error
New warning is enabled in QNX build that throws an
error when strncpy is used with length less than the
size of the length of the source string. Although in
this case, the next line was already taking care to
make sure the string is NULL-terminated.
Fix the compilation error by using length that is
the same size as the source name entry since the source
and destination name entries are the same size.
Signed-off-by: Praveen Rao <prao@ti.com>
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
New warning is enabled in QNX build that throws an
error when strncpy is used with length less than the
size of the length of the source string. Although in
this case, the next line was already taking care to
make sure the string is NULL-terminated.
Fix the compilation error by using length that is
the same size as the source name entry since the source
and destination name entries are the same size.
Signed-off-by: Praveen Rao <prao@ti.com>
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
packages/ti/drv/ipc/src/ipc_api.c | diff | blob | history |