arch/arm: Avoid C++ comments inside C comments

Avoid nested C++ comments inside the C comment block due to MISRA-C
rule 3.1. Keep the variables documenting possible caller saved
registers.

Signed-off-by: Patrik Flykt <patrik.flykt@intel.com>
This commit is contained in:
Patrik Flykt 2018-11-15 11:44:18 -07:00 committed by Anas Nashif
commit f8cbf7f92a

View file

@ -30,13 +30,13 @@ struct _caller_saved {
* *
* For Cortex-A, this may be: * For Cortex-A, this may be:
* *
* u32_t a1; // r0 * u32_t a1; r0
* u32_t a2; // r1 * u32_t a2; r1
* u32_t a3; // r2 * u32_t a3; r2
* u32_t a4; // r3 * u32_t a4; r3
* u32_t ip; // r12 * u32_t ip; r12
* u32_t lr; // r14 * u32_t lr; r14
* u32_t pc; // r15 * u32_t pc; r15
* u32_t xpsr; * u32_t xpsr;
*/ */
}; };