mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-11-23 17:01:40 +00:00
Add a comment for switch fallthrough to quiet lint warning
Some code has switch fallthrough cases, it causes some warning during compiling. Adding a comment can quiet it. Tracked-On:#1260 Signed-off-by: Chaohong Guo <chaohong.guo@intel.com> Acked-by: Gen Zheng <gen.zheng@intel.com>
This commit is contained in:
@@ -831,8 +831,10 @@ static int shell_loglevel(int argc, char **argv)
|
||||
switch (argc) {
|
||||
case 4:
|
||||
npk_loglevel = atoi(argv[3]);
|
||||
/* falls through */
|
||||
case 3:
|
||||
mem_loglevel = atoi(argv[2]);
|
||||
/* falls through */
|
||||
case 2:
|
||||
console_loglevel = atoi(argv[1]);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user