Project

General

Profile

Actions

Bug #8732

closed

myri10ge: '__idstring' defined but not used

Added by Toomas Soome almost 5 years ago. Updated almost 5 years ago.

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

100%

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

Description

Debug build with gcc 6 fails:

../../common/io/myri10ge/drv/myri10ge_lro.c:28:19: error: '__idstring' defined b
ut not used [-Werror=unused-const-variable=]
 static const char __idstring[] =
                   ^~~~~~~~~~

../../common/io/myri10ge/drv/myri10ge.c:38:19: error: '__idstring' defined but n
ot used [-Werror=unused-const-variable=]
 static const char __idstring[] =
                   ^~~~~~~~~~
cc1: all warnings being treated as errors
Actions #1

Updated by Electric Monk almost 5 years ago

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

git commit a3ef597505463b3755428d2fd18d4672af6e737a

commit  a3ef597505463b3755428d2fd18d4672af6e737a
Author: Toomas Soome <tsoome@me.com>
Date:   2017-11-07T15:39:38.000Z

    8732 myri10ge: '__idstring' defined but not used
    Reviewed by: C Fraire <cfraire@me.com>
    Reviewed by: Dan McDonald <danmcd@joyent.com>
    Approved by: Robert Mustacchi <rm@joyent.com>

Actions

Also available in: Atom PDF