]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
uio_hv_generic: Align ring size to system page
authorLong Li <longli@microsoft.com>
Tue, 6 May 2025 00:56:35 +0000 (17:56 -0700)
committerWei Liu <wei.liu@kernel.org>
Fri, 23 May 2025 16:30:56 +0000 (16:30 +0000)
commit0315fef2aff9f251ddef8a4b53db9187429c3553
tree5698e8ae4c7548b82fc0607abf3b57775aed8555
parentc951ab8fd3589cf6991ed4111d2130816f2e3ac2
uio_hv_generic: Align ring size to system page

Following the ring header, the ring data should align to system page
boundary. Adjust the size if necessary.

Cc: stable@vger.kernel.org
Fixes: 95096f2fbd10 ("uio-hv-generic: new userspace i/o driver for VMBus")
Signed-off-by: Long Li <longli@microsoft.com>
Reviewed-by: Michael Kelley <mhklinux@outlook.com>
Link: https://lore.kernel.org/r/1746492997-4599-4-git-send-email-longli@linuxonhyperv.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Message-ID: <1746492997-4599-4-git-send-email-longli@linuxonhyperv.com>
drivers/uio/uio_hv_generic.c