drm/amdgpu: avoid integer overflow warning in amdgpu_device_resize_fb_bar()
authorjsg <jsg@openbsd.org>
Wed, 13 Sep 2023 12:51:49 +0000 (12:51 +0000)
committerjsg <jsg@openbsd.org>
Wed, 13 Sep 2023 12:51:49 +0000 (12:51 +0000)
commit7e1de2c27bddcb819d19103e92ce1ed3e4e9c300
tree3e864dd2452a03e0ef0e08727fe21f4bd2acab69
parentebaeea39c22b1642a17be388198d4e69f50790f0
drm/amdgpu: avoid integer overflow warning in amdgpu_device_resize_fb_bar()

From Arnd Bergmann
fd28ce30b525bccba4504499de625085a6def1c6 in linux-6.1.y/6.1.53
822130b5e8834ab30ad410cf19a582e5014b9a85 in mainline linux
sys/dev/pci/drm/amd/amdgpu/amdgpu_device.c