summaryrefslogtreecommitdiff
path: root/drivers/comedi
diff options
context:
space:
mode:
authorSaurabh Sengar <ssengar@linux.microsoft.com>2024-03-30 01:52:03 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-04-11 14:55:53 +0200
commit76457f9a11dd1521efeb553526d350100e1ef422 (patch)
treeffb2673c12db02529905113846d95d6cdc70ce87 /drivers/comedi
parentec314f61e4fc2d3dd6ea78aa18a5ac276eb1a8e3 (diff)
uio_hv_generic: Remove use of PAGE_SIZE
Remove use of PAGE_SIZE for device ring buffer size calculation, as there is no dependency on device ring buffer size for linux kernel's PAGE_SIZE. Use the absolute value of 2 MB instead. Signed-off-by: Saurabh Sengar <ssengar@linux.microsoft.com> Reviewed-by: Long Li <longli@microsoft.com> Link: https://lore.kernel.org/r/1711788723-8593-8-git-send-email-ssengar@linux.microsoft.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/comedi')
0 files changed, 0 insertions, 0 deletions