Home
last modified time | relevance | path

Searched hist:f3ecd836afa13c560d63b49c0f05e913011a20b2 (Results 1 – 2 of 2) sorted by relevance

/rk3399_ARM-atf/common/
H A Dtf_log.cf3ecd836afa13c560d63b49c0f05e913011a20b2 Wed Apr 24 13:13:34 UTC 2024 Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com> fix(common): typecast operands to match data type

This corrects the MISRA violation C2012-10.3:
The value of an expression shall not be assigned to an object with a
narrower essential type or of a different essential type category.
The condition is explicitly checked against 0U, appending 'U' and
typecasting for unsigned comparison.

Change-Id: I350ba1dfd1af872c6d237aa7b46221fc10a2ef67
Signed-off-by: Nithin G <nithing@amd.com>
Signed-off-by: Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com>
/rk3399_ARM-atf/include/common/
H A Ddebug.hf3ecd836afa13c560d63b49c0f05e913011a20b2 Wed Apr 24 13:13:34 UTC 2024 Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com> fix(common): typecast operands to match data type

This corrects the MISRA violation C2012-10.3:
The value of an expression shall not be assigned to an object with a
narrower essential type or of a different essential type category.
The condition is explicitly checked against 0U, appending 'U' and
typecasting for unsigned comparison.

Change-Id: I350ba1dfd1af872c6d237aa7b46221fc10a2ef67
Signed-off-by: Nithin G <nithing@amd.com>
Signed-off-by: Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com>