Commit f596fdc5 authored by Simon Que's avatar Simon Que Committed by Hari Kanigeri

SYSLINK:ipc-gatepeterson open shared address fix

This patch fixes the shared address issue. shared
address value wasn't set to correct value in all
the cases.
Signed-off-by: default avatarSimon Que <sque@ti.com>
parent caedad24
...@@ -566,7 +566,8 @@ int gatepeterson_open(void **gphandle, ...@@ -566,7 +566,8 @@ int gatepeterson_open(void **gphandle,
if (params->shared_addr == NULL) if (params->shared_addr == NULL)
goto noentry_fail; goto noentry_fail;
} }
} } else
sharedaddr = params->shared_addr;
if (unlikely(((struct gatepeterson_attrs *)sharedaddr)->status != if (unlikely(((struct gatepeterson_attrs *)sharedaddr)->status !=
GATEPETERSON_CREATED)) { GATEPETERSON_CREATED)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment