Searched hist:"97 eefd9989aeb2ce2093e873ceab535df9559a59" (Results 1 – 2 of 2) sorted by relevance
| /rk3399_ARM-atf/drivers/console/ |
| H A D | multi_console.c | 97eefd9989aeb2ce2093e873ceab535df9559a59 Tue Apr 23 12:24:08 UTC 2024 Nithin G <nithing@amd.com> fix(console): typecast expressions to match data type
This corrects the MISRA violation C2012-10.4: Both operands of an operator in which the usual arithmetic conversions are performed shall have the same essential type category. The condition is explicitly checked against 0U, appending 'U' and typecasting for unsigned comparison.
Change-Id: I4276035b3e7a223e80712e023457662689a011a1 Signed-off-by: Nithin G <nithing@amd.com> Signed-off-by: Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com>
|
| /rk3399_ARM-atf/include/drivers/ |
| H A D | console.h | 97eefd9989aeb2ce2093e873ceab535df9559a59 Tue Apr 23 12:24:08 UTC 2024 Nithin G <nithing@amd.com> fix(console): typecast expressions to match data type
This corrects the MISRA violation C2012-10.4: Both operands of an operator in which the usual arithmetic conversions are performed shall have the same essential type category. The condition is explicitly checked against 0U, appending 'U' and typecasting for unsigned comparison.
Change-Id: I4276035b3e7a223e80712e023457662689a011a1 Signed-off-by: Nithin G <nithing@amd.com> Signed-off-by: Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com>
|