1. 12 11月, 2019 39 次提交
  2. 11 11月, 2019 1 次提交
    • P
      util: pci: Remove always-false condition · e39d3424
      Peter Krempa 提交于
      Commit d19c2142 modified the condition so that it checks whether the
      value is more than 0xFFFFFFFF. Since addr->domain is an unsigned int, it
      will never be more than that.
      
      Remove the whole check
      
      src/util/virpci.c:1291:22: error: result of comparison 'unsigned int' > 4294967295 is always false [-Werror,-Wtautological-type-limit-compare]
          if (addr->domain > 0xFFFFFFFF) {
              ~~~~~~~~~~~~ ^ ~~~~~~~~~~
      Signed-off-by: NPeter Krempa <pkrempa@redhat.com>
      e39d3424