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

2019-09-02 Thread Sasha Levin
On Mon, Sep 02, 2019 at 01:30:44PM +0200, Jiri Kosina wrote: On Sat, 31 Aug 2019, Michael Kelley wrote: From: Maya Nakamura Sent: Friday, July 12, 2019 1:28 AM > > Define the ring buffer size as a constant expression because it should > not depend on the guest page size. > > Signed-off-by: M

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

2019-09-02 Thread Jiri Kosina
On Sat, 31 Aug 2019, Michael Kelley wrote: > From: Maya Nakamura Sent: Friday, July 12, 2019 > 1:28 AM > > > > Define the ring buffer size as a constant expression because it should > > not depend on the guest page size. > > > > Signed-off-by: Maya Nakamura > > Reviewed-by: Michael Kelley >

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

2019-07-12 Thread Maya Nakamura
Define the ring buffer size as a constant expression because it should not depend on the guest page size. Signed-off-by: Maya Nakamura Reviewed-by: Michael Kelley --- drivers/hid/hid-hyperv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/hid/hid-hyperv.c b/driv