SYSLINK: ipc - fix issues with nameserver_get functions
This patch fixes multiple issues with the nameserver_get and related
functions. The patch includes the following main changes.
- nameserver_remote_get function is called only for valid
remote notify handles in nameserver_get. Additional
error checks have also been added.
- Additional WARN_ONs and error checks have been added for
input arguments in nameserver_remote_get function.
- nameserver_remotenotify_message structure misalignment has
been fixed. This issue is causing the remote processor
to return wrong values when queried.
- Additional error check has been added to ensure that there
is a valid buffer to copy after receiving a response
from the remote processor in nameserver_remotenotify_get
function.
Signed-off-by: Suman Anna <s-anna@ti.com>
Showing
Please register or sign in to comment