commit | ac53880cefda19f35f1d0b56973331ddf9dcf971 | [log] [tgz] |
---|---|---|
author | Daniel Leung <daniel.leung@intel.com> | Thu Jul 23 14:33:31 2020 -0700 |
committer | Anas Nashif <anas.nashif@intel.com> | Sat Jul 25 21:26:15 2020 -0400 |
tree | 59aefeed4914a96a62def53ba909e2458e2d5d90 | |
parent | 4fc1444823145b5de363fdd70d0fe16a1828ed53 [diff] |
kernel: smp: avoid identifier collisions MISRA-C Rule 5.3 states that identifiers in inner scope should not hide identifiers in outer scope. In the function smp_init_top(), the variable "start_flags" collide with global variable of the same name. So rename the one inside the function. Signed-off-by: Daniel Leung <daniel.leung@intel.com>