Project

General

Profile

Actions

Bug #8788

closed

tavor: variable 'cfi_dw_info' set but not used

Added by Toomas Soome about 6 years ago. Updated about 6 years ago.

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

100%

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

Description

Debug build error from gcc 6:

    ../../common/io/ib/adapters/tavor/tavor_ioctl.c:2140:11: error: variable 'cfi_dw_info' set but not used [-Werror=unused-but-set-variable]
      uint32_t cfi_dw_info[TAVOR_CFI_INFO_QSIZE];
               ^~~~~~~~~~~
    cc1: all warnings being treated as errors

Actions #1

Updated by Electric Monk about 6 years ago

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

git commit a375f4369f2774fb4628ce225260143f7e530cec

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

    8788 tavor: 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