mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-01 08:56:55 +00:00
hv:fix violations of coding guideline C-ST-04
The coding guideline rule C-ST-04 requires that a 'if' statement followed by one or more 'else if' statement shall be terminated by an 'else' statement which contains either appropriate action or a comment. Tracked-On: #6776 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
committed by
acrnsi-robot
parent
b7a99f4530
commit
3d5c3c4754
@@ -175,6 +175,8 @@ void get_cache_shift(uint32_t *l2_shift, uint32_t *l3_shift)
|
||||
*l2_shift = shift;
|
||||
} else if (cache_level == 3U) {
|
||||
*l3_shift = shift;
|
||||
} else {
|
||||
/* this api only for L2 & L3 cache */
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user