commit | b907cf76946bc7a7db7aa25965bfaea6566cd1bf | [log] [tgz] |
---|---|---|
author | Daniel Leung <daniel.leung@intel.com> | Thu Jul 23 12:55:20 2020 -0700 |
committer | Anas Nashif <anas.nashif@intel.com> | Sat Jul 25 21:26:15 2020 -0400 |
tree | d3dc6feb6261b34dcb7cce24982ddc0e6e29acbd | |
parent | 2acafafae1e9c6253cf56cd429bb7b2ae2e287ef [diff] |
kernel: timeout: avoid identifier collisions MISRA-C Rule 5.3 states that identifiers in inner scope should not hide identifiers in outer scope. In the function z_set_timeout_expiry(), the parameter "idle" and an inner variable "next" collide with function named idle() and next(). So rename those variables. Signed-off-by: Daniel Leung <daniel.leung@intel.com>