Project

General

Profile

Actions

Bug #8787

closed

hermon: variable 'cfi_dw_info' set 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-11-07
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

Debug build error from gcc 6:

    ../../common/io/ib/adapters/hermon/hermon_ioctl.c:2479:11: error: variable 'cfi_dw_info' set but not used [-Werror=unused-but-set-variable]
      uint32_t cfi_dw_info[HERMON_CFI_INFO_QSIZE];
               ^~~~~~~~~~~
    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 8b8be354eac32fe0c94a52f66250bff1b4e646a1

commit  8b8be354eac32fe0c94a52f66250bff1b4e646a1
Author: Toomas Soome <tsoome@me.com>
Date:   2017-11-20T01:06:02.000Z

    8787 hermon: variable 'cfi_dw_info' set but not used
    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