Project

General

Profile

Bug #9239

mr_sas: 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-06
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

Issue found by gcc 7 build:

    ../../common/io/mr_sas/mr_sas.c: In function 'build_cmd':
    ../../common/io/mr_sas/mr_sas.c:5132:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
       if (acmd->islogical) {
          ^
    ../../common/io/mr_sas/mr_sas.c:5228:2: note: here
      default:
      ^~~~~~~
    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 de6ecd7f43e1627e7b738535c187ace8c2fd8f85

commit  de6ecd7f43e1627e7b738535c187ace8c2fd8f85
Author: Toomas Soome <tsoome@me.com>
Date:   2018-05-14T14:53:24.000Z

    9239 mr_sas: this statement may fall through
    Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth@skylime.net>
    Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk>
    Reviewed by: Gergő Mihály Doma <domag02@gmail.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF