Commit 03af888d authored by Carlos Llamas's avatar Carlos Llamas
Browse files

edgetpu: fix implicit fall-through error



Fixes the following -Wimplicit-fallthrough error:

  edgetpu/drivers/edgetpu/abrolhos-pm.c:423:2:
  error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
        default:
        ^
  edgetpu/drivers/edgetpu/abrolhos-pm.c:423:2:
  note: insert '__attribute__((fallthrough));' to silence this warning
        default:
        ^
        __attribute__((fallthrough));
  edgetpu/drivers/edgetpu/abrolhos-pm.c:423:2:
  note: insert 'break;' to avoid fall-through
        default:
        ^
        break;

Bug: 215617713
Signed-off-by: default avatarCarlos Llamas <cmllamas@google.com>
Change-Id: Ic682ec12c7b6a8eab38d3fc5b253d26b3a581d30
parent ec15ef03
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment