Project

General

Profile

Bug #9268

cxgbe: this statement may fall through

Added by Toomas Soome over 1 year ago. Updated about 1 year 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:

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

History

#1

Updated by Electric Monk about 1 year ago

  • % Done changed from 90 to 100
  • Status changed from In Progress to Closed

git commit 4e0c5eff9af325c80994e9527b7cb8b3a1ffd1d4

commit  4e0c5eff9af325c80994e9527b7cb8b3a1ffd1d4
Author: Toomas Soome <tsoome@me.com>
Date:   2018-06-25T20:26:44.000Z

    9268 cxgbe: this statement may fall through
    Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk>
    Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF