commit | e96df40004511ac6389f8e5a1cc0119e4b35b802 | [log] [tgz] |
---|---|---|
author | Maksim Masalski <maksim.masalski@intel.com> | Wed Jun 09 15:40:13 2021 +0800 |
committer | Anas Nashif <anas.nashif@intel.com> | Thu Jun 10 17:17:23 2021 -0400 |
tree | 41090068d226236cb74691e6af1fd51a08916b2a | |
parent | 6cbf6a50a054c18195e257fb654bfe08df5ab11b [diff] |
arch: x86: cast to the same size composite expression Essential type of RHS operand (64 bit) is wider than essential type of composite expression in LHS operand (32 bit). LHS entry_val is 32 bit, and RHS (phys+offset) is 64 bit. Cast RHS composite expression to the (pentry_t) type. Found as a coding guideline violation (MISRA R10.7) by static coding scanning tool. Signed-off-by: Maksim Masalski <maksim.masalski@intel.com>