Project

General

Profile

Actions

Bug #9227

closed

ipd: 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-04
Due date:
% Done:

100%

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

Description

issue found by gcc 7:

    ../../common/inet/ipd/ipd.c:1093:9: error: this statement may fall through [-Werror=implicit-fallthrough=]
       error = DDI_SUCCESS;
    ../../common/inet/ipd/ipd.c:1094:2: note: here
      default:
      ^~~~~~~
    cc1: all warnings being treated as errors

Actions #1

Updated by Electric Monk about 4 years ago

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

git commit 73ebdb1f098bc5f3e6301b6aeab3becf12bc844e

commit  73ebdb1f098bc5f3e6301b6aeab3becf12bc844e
Author: Toomas Soome <tsoome@me.com>
Date:   2018-04-23T16:15:40.000Z

    9227 ipd: this statement may fall through
    Reviewed by: C Fraire <cfraire@me.com>
    Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk>
    Approved by: Robert Mustacchi <rm@joyent.com>

Actions

Also available in: Atom PDF