pkarashchenko commented on code in PR #6433: URL: https://github.com/apache/incubator-nuttx/pull/6433#discussion_r897235697
########## arch/arm/src/cxd56xx/cxd56_farapi.c: ########## @@ -196,14 +196,14 @@ void farapi_main(int id, void *arg, struct modulelist_s *mlist) { /* Save the current cpuset */ - sched_getaffinity(getpid(), sizeof(cpu_set_t), &cpuset0); + nxsched_get_affinity(getpid(), sizeof(cpu_set_t), &cpuset0); Review Comment: This is a kernel code. No need to call user space APIs here -- 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