In Linux 6.12, the API changed to be closer to krealloc():
- The function does not take the old size anymore
- The function becomes a wrapper around krealloc() with a fallback mechanism.
This is part of the update of DRM drivers to Linux 6.12.
Sponsored by: The FreeBSD Foundation