Project

General

Profile

Actions

Bug #8229

closed

ixgbe: misleading-indentation

Added by Toomas Soome over 6 years ago. Updated over 6 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:
External Bug:

Description

Building 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

Actions #1

Updated by Electric Monk over 6 years ago

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

git commit 483bfec1aa5a73a38b72bfd7cef9b9f1d42a7d41

commit  483bfec1aa5a73a38b72bfd7cef9b9f1d42a7d41
Author: Toomas Soome <tsoome@me.com>
Date:   2017-06-17T02:25:12.000Z

    8229 ixgbe: misleading-indentation
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF