Project

General

Profile

Actions

Bug #9414

closed

scsa1394: this statement may fall through

Added by Toomas Soome over 4 years ago. Updated over 4 years ago.

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

100%

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

Description

issue found by gcc 7 build:

    ../../common/io/1394/targets/scsa1394/hba.c: In function 'scsa1394_cmd_fake_comp':
    ../../common/io/1394/targets/scsa1394/hba.c:2375:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
       if (!lp->l_mode_sense_fake) {
          ^
    ../../common/io/1394/targets/scsa1394/hba.c:2381:2: note: here
      default:
      ^~~~~~~
    cc1: all warnings being treated as errors

Actions

Also available in: Atom PDF