-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kernel: Change the prototype of k_thread_access_grant.
This API was using variable number of arguments. Which is not allowed according to misra c guidelines(Rule 17.1). Hence making this API into a macro and using the util macro FOR_EACH_FIXED_ARG to get the same functionality. There is one deviation from the old function. The last argument shouldn't be NULL. Signed-off-by: Adithya Baglody <adithya.nagaraj.baglody@intel.com>
- Loading branch information
1 parent
d273e21
commit 18dd538
Showing
2 changed files
with
5 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters