drm/hyperv: use VMBUS_RING_SIZE()

VMBUS ring buffers must be page aligned. So, use VMBUS_RING_SIZE() to
ensure they are always aligned and large enough to hold all of the
relevant data.

Cc: stable@kernel.vger.org
Fixes: 76c56a5aff ("drm/hyperv: Add DRM driver for hyperv synthetic video device")
Signed-off-by: Hamza Mahfooz <hamzamahfooz@linux.microsoft.com>
Reviewed-by: Saurabh Sengar <ssengar@linux.microsoft.com>
Link: https://patch.msgid.link/20260425181719.1538483-2-hamzamahfooz@linux.microsoft.com
This commit is contained in:
Hamza Mahfooz 2026-04-25 11:17:19 -07:00
commit 241061119a
No known key found for this signature in database
GPG key ID: 3D6797D6EE6FCAE2