commit | 392219eab8930b41f48e05e8c99106dcafae64dd | [log] [tgz] |
---|---|---|
author | Adithya Baglody <adithya.nagaraj.baglody@intel.com> | Wed Jan 02 14:40:39 2019 +0530 |
committer | Andrew Boie <andrewboie@gmail.com> | Thu Jan 03 12:35:14 2019 -0800 |
tree | f4df560ead01f49643074a5f877dd153ae8bb90c | |
parent | 9febb6577b66a0ac581df7e2e444ad9897532b18 [diff] |
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>