Project

General

Profile

Bug #9348

mii: duplicate 'const' declaration specifier

Added by Toomas Soome over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
driver - device drivers
Start date:
2018-03-25
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

Issue found by gcc 7 build:

    ../../common/io/mii/mii.c:74:14: error: duplicate 'const' declaration specifier [-Werror=duplicate-decl-specifier]
     static const const char *mii_xcvr_types[] = {
                  ^~~~~
    cc1: all warnings being treated as errors

History

#1

Updated by Electric Monk over 1 year ago

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

git commit f22cbd2db87ae3945ed6a9166f8b9d61b65c6ab9

commit  f22cbd2db87ae3945ed6a9166f8b9d61b65c6ab9
Author: Toomas Soome <tsoome@me.com>
Date:   2018-04-01T21:48:01.000Z

    9348 mii: duplicate 'const' declaration specifier
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Reviewed by: Yuri Pankov <yuripv@yuripv.net>
    Approved by: Gordon Ross <gwr@nexenta.com>

Also available in: Atom PDF