summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.h
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2020-06-08 03:22:23 +0000
committerguenther <guenther@openbsd.org>2020-06-08 03:22:23 +0000
commit66ecf2e2f524653126dce17a447a43b26ee90abb (patch)
tree6a8fee9f0393be71d6a1e120eae7db8cbb0adb28 /sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.h
parentAdd ne(4) which is supported on luna88k from OpenBSD 6.7. (diff)
downloadwireguard-openbsd-66ecf2e2f524653126dce17a447a43b26ee90abb.tar.xz
wireguard-openbsd-66ecf2e2f524653126dce17a447a43b26ee90abb.zip
The errcheck() function treats an errno of ERANGE or EDOM as something
to report, so make sure errno is set to zero before invoking a function to check so that a previous such errno value won't result in a false positive. This could happen simply due to input line fields that looked enough like floating-point input to trigger ERANGE. Problem noted by Jordan Geoghegan (jordan (at) geoghegan.ca), with clue from Ze' Loff (zeloff (at) zeloff.org) ok millert@
Diffstat (limited to 'sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.h')
0 files changed, 0 insertions, 0 deletions