[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] hmp-cmd: fix a missing_break warning
From: |
Peter Maydell |
Subject: |
Re: [PATCH] hmp-cmd: fix a missing_break warning |
Date: |
Fri, 20 Mar 2020 15:59:12 +0000 |
On Wed, 18 Mar 2020 at 07:18, Pan Nengyuan <address@hidden> wrote:
>
> This fix coverity issues 94417686:
> 1260 break;
> CID 94417686: (MISSING_BREAK)
> 1261. unterminated_case: The case for value
> "MIGRATION_PARAMETER_THROTTLE_TRIGGER_THRESHOLD" is not terminated by a
> 'break' statement.
> 1261 case MIGRATION_PARAMETER_THROTTLE_TRIGGER_THRESHOLD:
> 1262 p->has_throttle_trigger_threshold = true;
> 1263 visit_type_int(v, param, &p->throttle_trigger_threshold,
> &err);
> 1264 case MIGRATION_PARAMETER_CPU_THROTTLE_INITIAL:
This is CID 1421950. (I'm not sure where your number comes from.)
> Fixes: dc14a470763c96fd9d360e1028ce38e8c3613a77
> Reported-by: Euler Robot <address@hidden>
> Signed-off-by: Pan Nengyuan <address@hidden>
thanks
-- PMM