Project

General

Profile

Actions

Bug #12951

closed

serengeti: this statement may fall through

Added by Toomas Soome almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
kernel
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

Build errors on SPARC:

    ../../../sun4u/os/plat_ecc_unum.c
    ../../../sun4u/os/plat_ecc_unum.c: In function 'plat_ecc_capability_sc_get':
    ../../../sun4u/os/plat_ecc_unum.c:855:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
        if (plat_ecc_capability_map_sc &
           ^
    ../../../sun4u/os/plat_ecc_unum.c:858:3: note: here
       default:
       ^~~~~~~
    cc1: all warnings being treated as errors

Testing done: build/install/boot

Actions

Also available in: Atom PDF