Project

General

Profile

Actions

Bug #9408

closed

pcmcia: 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:
Medium
Tags:
Gerrit CR:

Description

issue found by gcc 7 build:

    ../../common/pcmcia/cs/cs.c: In function 'cs_make_device_node':
    ../../common/pcmcia/cs/cs.c:7676:6: error: this statement may fall through [-Werror=implicit-fallthrough=]
       if (mdn->NumDevNodes) {
          ^
    ../../common/pcmcia/cs/cs.c:7685:6: note: here
          default:
          ^~~~~~~
    cc1: all warnings being treated as errors

Actions

Also available in: Atom PDF