diff options
author | Saurabh Sengar <ssengar@linux.microsoft.com> | 2024-03-30 09:52:03 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-04-11 14:55:53 +0200 |
commit | 76457f9a11dd1521efeb553526d350100e1ef422 (patch) | |
tree | ffb2673c12db02529905113846d95d6cdc70ce87 /drivers/comedi | |
parent | Drivers: hv: Remove fcopy driver (diff) | |
download | linux-76457f9a11dd1521efeb553526d350100e1ef422.tar.xz linux-76457f9a11dd1521efeb553526d350100e1ef422.zip |
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