8459 i86pc: pci_tools.c variable might be clobbered
Review Request #616 — Created July 5, 2017 and submitted — Latest diff uploaded
Information | |
---|---|
tsoome | |
illumos-gate | |
8459 | |
b121ba5... | |
Reviewers | |
general | |
../../i86pc/io/pci/pci_tools.c: In function 'pcitool_io_access': ../../i86pc/io/pci/pci_tools.c:678:6: error: variable 'rval' might be clobbered by 'longjmp' or 'vfork' [-Werror=clobbered] int rval = SUCCESS; ^~~~ ../../i86pc/io/pci/pci_tools.c: In function 'pcitool_mem_access': ../../i86pc/io/pci/pci_tools.c:766:6: error: variable 'rval' might be clobbered by 'longjmp' or 'vfork' [-Werror=clobbered] int rval = DDI_SUCCESS; ^~~~ ../../i86pc/io/pci/pci_tools.c: In function 'pcitool_io_access': ../../i86pc/io/pci/pci_tools.c:680:11: error: variable 'local_data' might be clobbered by 'longjmp' or 'vfork' [-Werror=clobbered] uint64_t local_data; ^~~~~~~~~~ ../../i86pc/io/pci/pci_tools.c: In function 'pcitool_mem_access': ../../i86pc/io/pci/pci_tools.c:768:11: error: variable 'local_data' might be clobbered by 'longjmp' or 'vfork' [-Werror=clobbered] uint64_t local_data; ^~~~~~~~~~ cc1: all warnings being treated as errors