Project

General

Profile

Actions

Bug #9268

closed

cxgbe: this statement may fall through

Added by Toomas Soome over 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
driver - device drivers
Start date:
2018-03-12
Due date:
% Done:

100%

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

Description

Issue found by gcc 7 build:

    ../../../common/io/cxgbe/t4nex/t4_sge.c: In function 't4_ring_rx':
    ../../../common/io/cxgbe/t4nex/t4_sge.c:812:7: error: this statement may fall th
    rough [-Werror=implicit-fallthrough=]
        if (m == NULL) {
           ^
    ../../../common/io/cxgbe/t4nex/t4_sge.c:817:3: note: here
       case X_RSPD_TYPE_CPL:
       ^~~~
    cc1: all warnings being treated as errors

Actions

Also available in: Atom PDF