Searched hist:"325949 f19ec921d5a34d32f0b5109f01c2869f85" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/plat/xilinx/common/ |
| H A D | versal.c | 325949f19ec921d5a34d32f0b5109f01c2869f85 Thu Feb 06 12:18:41 UTC 2025 Saivardhan Thatikonda <saivardhan.thatikonda@amd.com> fix(versal): switch case has only one confirming clause
This corrects the MISRA violation C2012-16.6: Use if statement when switch statement has only one clause. This helps to prevent other misra-c issue i.e., 16.1 and 16.3 and this doesn't affect the functionality of the code.
Change-Id: Ie4ce39abb450cc45303732ec48b5c2e4ef5561e4 Signed-off-by: Saivardhan Thatikonda <saivardhan.thatikonda@amd.com>
|