tkaratapanis commented on code in PR #16734:
URL: https://github.com/apache/nuttx/pull/16734#discussion_r2229481914


##########
drivers/misc/optee.c:
##########
@@ -1218,15 +1239,18 @@ int optee_shm_alloc(FAR struct optee_priv_data *priv, 
FAR void *addr,
       ptr = addr;
     }
 
-  if (ptr == NULL)
+  if (!(flags & TEE_SHM_USER_MAP))
     {
-      goto err;
+      if (ptr == NULL)

Review Comment:
   Sorry I had made the merge in a later commit. I moved it back now to the 
correct commit with the anonymous mapping.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to