Bug 121771

Summary: A message during compile
Product: Drivers Reporter: Vlad (uvladimir)
Component: OtherAssignee: drivers_other
Status: NEW ---    
Severity: normal CC: adobriyan
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 4.7.0-rc6 Subsystem:
Regression: No Bisected commit-id:

Description Vlad 2016-07-09 18:11:44 UTC
CC      drivers/iommu/amd_iommu_init.o
  CC      drivers/iommu/dmar.o
drivers/iommu/dmar.c: In function ‘dmar_hp_remove_drhd’:
drivers/iommu/dmar.c:1874:5: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
  if (!dmaru->include_all && dmaru->devices && dmaru->devices_cnt)
     ^
  CC      drivers/iommu/intel-iommu.o
drivers/iommu/intel-iommu.c: In function ‘dmar_check_one_atsr’:
drivers/iommu/intel-iommu.c:4275:5: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
  if (!atsru->include_all && atsru->devices && atsru->devices_cnt)
     ^
Comment 1 Alexey Dobriyan 2016-07-17 22:17:39 UTC
Reporting compile warnings here is rather pointless.