Project

General

Profile

Actions

Bug #8232

closed

pcmcia: misleading-indentation

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

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

100%

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

Description

Building with gcc 6:

../../common/pcmcia/nexus/pcmcia.c: In function 'pcmcia_intr_disable_isr':
../../common/pcmcia/nexus/pcmcia.c:5428:4: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
    if (intr->handler_id != (uint32_t)(uintptr_t)rdip)
    ^~
../../common/pcmcia/nexus/pcmcia.c:5434:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     ispecp = (struct intrspec *)&sockp->ls_intrspec;
     ^~~~~~
cc1: all warnings being treated as errors

Actions

Also available in: Atom PDF