drm: Don't treat 0 as -1 in drm_fixp2int_ceil
authorjsg <jsg@openbsd.org>
Wed, 27 Mar 2024 04:32:19 +0000 (04:32 +0000)
committerjsg <jsg@openbsd.org>
Wed, 27 Mar 2024 04:32:19 +0000 (04:32 +0000)
commitc1948f897d3ac5d99a6ece0e80dba45c27fc671d
tree22cebe52e9aacf9c3d1d705681b9962fa6566c0c
parente4435d5d7fda6172f859d49f385970c818120d4f
drm: Don't treat 0 as -1 in drm_fixp2int_ceil

From Harry Wentland
bac3d37d2f7cab3d9c42a7c9775c84aee4fa89d9 in linux-6.6.y/6.6.23
cf8837d7204481026335461629b84ac7f4538fa5 in mainline linux
sys/dev/pci/drm/include/drm/drm_fixed.h