Project

General

Profile

Bug #12952

ms: this statement may fall through

Added by Toomas Soome 28 days ago. Updated 17 days ago.

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

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Build errors on SPARC:

    ../../sun/io/ms.c: In function 'msrput':
    ../../sun/io/ms.c:925:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
       if (*mp->b_rptr & FLUSHR)
          ^
    ../../sun/io/ms.c:928:2: note: here
      default:
      ^~~~~~~
    ../../sun/io/ms.c: In function 'mswput':
    ../../sun/io/ms.c:707:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
       if (*mp->b_rptr & FLUSHR)
          ^
    ../../sun/io/ms.c:710:2: note: here
      default:
      ^~~~~~~
    cc1: all warnings being treated as errors

Testing done: build/install/boot

History

#1

Updated by Electric Monk 28 days ago

  • Gerrit CR set to 795
#2

Updated by Toomas Soome 18 days ago

  • Description updated (diff)
#3

Updated by Electric Monk 17 days ago

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

git commit 6937e379563aa5fe8a003acdcd316b89044dd8dd

commit  6937e379563aa5fe8a003acdcd316b89044dd8dd
Author: Toomas Soome <tsoome@me.com>
Date:   2020-07-22T19:05:35.000Z

    12952 ms: this statement may fall through
    Reviewed by: Igor Kozhukhov <igor@dilos.org>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF