By (ab)using atomic_long_add_return(), atomic_long_sub() was making the atomic long overflow. Indeed the underlying FreeBSD atomic is based on an unsigned long.
This is part of the update of the DRM drivers to Linux 5.13.
Differential D38090
linuxkpi: Fix `atomic_long_sub()` overflow Authored by dumbbell on Jan 16 2023, 7:53 PM. Tags None Referenced Files
Details By (ab)using atomic_long_add_return(), atomic_long_sub() was making the atomic long overflow. Indeed the underlying FreeBSD atomic is based on an unsigned long. This is part of the update of the DRM drivers to Linux 5.13.
Diff Detail
|