commit | d3d27301666bc0b339f61c3858d4c61d601fb305 | [log] [tgz] |
---|---|---|
author | Daniel Leung <daniel.leung@intel.com> | Thu Jul 23 14:36:30 2020 -0700 |
committer | Anas Nashif <anas.nashif@intel.com> | Sat Jul 25 21:26:15 2020 -0400 |
tree | 02e6c14afb1f787e194c7e221a2e7c8522d462e6 | |
parent | ac53880cefda19f35f1d0b56973331ddf9dcf971 [diff] |
tracing: uart: rename global variable named dev MISRA-C Rule 5.3 states that identifiers in inner scope should not hide identifiers in outer scope. There is a global variable named "dev" to store which UART device is being used the tracing backend. This name collides with the parameter of same name in the ISR function. So rename the global variable. Signed-off-by: Daniel Leung <daniel.leung@intel.com>