tkaratapanis commented on code in PR #16734: URL: https://github.com/apache/nuttx/pull/16734#discussion_r2219200329
########## drivers/misc/optee.c: ########## @@ -1342,5 +1461,181 @@ int optee_register(void) return ret; } - return register_driver(OPTEE_DEV_PATH, &g_optee_ops, 0666, NULL); +#ifdef CONFIG_DEV_OPTEE_SUPPLICANT + ret = register_driver(OPTEE_SUPPLICANT_DEV_PATH, &g_optee_ops, 0666, + (void *)OPTEE_ROLE_SUPPLICANT); + Review Comment: I prefer `if (ret != 0)`, but I changed it now -- 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