RE: [PATCH v2 4/5] HID: hv: Remove dependencies on PAGE_SIZE for ring buffer

2019-06-14 Thread Vitaly Kuznetsov
Michael Kelley writes: > From: Vitaly Kuznetsov Sent: Wednesday, June 12, 2019 > 3:40 AM >> Maya Nakamura writes: >> >> > Define the ring buffer size as a constant expression because it should >> > not depend on the guest page size. >> > >> > Signed-off-by: Maya Nakamura >> > --- >> > drive

Re: [PATCH v2 4/5] HID: hv: Remove dependencies on PAGE_SIZE for ring buffer

2019-06-12 Thread Vitaly Kuznetsov
Maya Nakamura writes: > Define the ring buffer size as a constant expression because it should > not depend on the guest page size. > > Signed-off-by: Maya Nakamura > --- > drivers/hid/hid-hyperv.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/hid/hid-hype