Project

General

Profile

Bug #9227

ipd: this statement may fall through

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

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

History

#1

Updated by Electric Monk over 1 year ago

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

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>

Also available in: Atom PDF