• Suman Anna's avatar
    SYSLINK: ipc - fix issues with nameserver_get functions · 0eb03ed3
    Suman Anna authored
    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: default avatarSuman Anna <s-anna@ti.com>
    0eb03ed3
nameserver.c 27.5 KB