Project

General

Profile

Bug #8283

ixgbe: misleading-indentation

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

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

90%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

Build error with gcc 6:

../../common/io/ixgbe/ixgbe_main.c:3001:3: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
   if ((i & 3) == 3)
   ^~
../../common/io/ixgbe/ixgbe_main.c:3012:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
    reta = 0;
    ^~~~
cc1: all warnings being treated as errors

History

#1

Updated by Gordon Ross over 2 years ago

  • Status changed from In Progress to Closed

Dup of #8229

Also available in: Atom PDF