8811 bfe: variable 'prom' set but not used

Review Request #738 — Created Nov. 18, 2017 and submitted

tsoome
illumos-gate
8811
ddec7f8...
general
../../common/io/bfe/bfe.c:2554:11: error: variable 'prom' set but not used [-Werror=unused-but-set-variable]
  uint32_t prom[BFE_EEPROM_SIZE];
           ^~~~
cc1: all warnings being treated as errors


andy_js
  1. Ship It!
  2. 
      
yuripv
  1. I wonder if reading the PROM could have any side effects that are actually used here?

    1. I have the same doubt, but only guessing here... somehow I doubt a bit, however, especially as we are reading the 32bit words into the prom array and then reading bytes.

  2. 
      
yuripv
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...