9264 amd8111s: error: '<<' in boolean context

Review Request #940 — Created March 11, 2018 and submitted

tsoome
illumos-gate
9264
ec57688...
general
../../intel/io/amd8111s/amd8111s_hw.c:1486:12: error: '<<' in boolean context, d
id you mean '<' ? [-Werror=int-in-bool-context]
        !(1 << (HashCode & 0x07));
         ~~~^~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors


jbk
  1. Based on the existing comments, and on the corresponding set code, I think this should be correct.

  2. 
      
yuripv
  1. That is... awesome.

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

Status: Closed (submitted)

Loading...