mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-11-29 09:43:42 +00:00
For data structure types "union lapic_id and struct segment", its name is identical with variable name in the same scope. This MISRA C violation is detected by static analysis tool. Naming convention rule:If the data structure is corresponding to hardware resource (such as register, segment selector), its name need resource shorten name suffix (such as _reg, _sel). The following udpates are made: union lapic_id-->union lapic_id_reg struct segment-->struct segment_sel Signed-off-by: Xiangyang Wu <xiangyang.wu@linux.intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com>
5.7 KiB
5.7 KiB