Project

General

Profile

Actions

Bug #9241

closed

si3124: this statement may fall through

Added by Toomas Soome almost 6 years ago. Updated over 5 years ago.

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

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:
External Bug:

Description

Issue found by gcc 7 build:

    ../../common/sys/sata/adapters/si3124/si3124var.h:274:5: error: this statement may fall through [-Werror=implicit-fallthrough=]
      if (si_debug_flags & (flag)) { \
         ^
    ../../common/io/sata/adapters/si3124/si3124.c:1835:3: note: in expansion of macro 'SIDBG_P'
       SIDBG_P(SIDBG_RESET, si_portp,
       ^~~~~~~
    ../../common/io/sata/adapters/si3124/si3124.c:1839:2: note: here
      default:
      ^~~~~~~
    cc1: all warnings being treated as errors

Actions #1

Updated by Electric Monk over 5 years ago

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

git commit 7b839a17b133f5f15cfee0a4f16c5c8445d7fa25

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

    9241 si3124: this statement may fall through
    Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth@skylime.net>
    Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk>
    Approved by: Robert Mustacchi <rm@joyent.com>

Actions

Also available in: Atom PDF