RE: [PATCH 1/4] Drivers: hv: cleanup vmbus_open() for wrap around mappings

2016-08-31 Thread KY Srinivasan
com; vkuzn...@redhat.com; > jasow...@redhat.com; leann.ogasaw...@canonical.com > Subject: Re: [PATCH 1/4] Drivers: hv: cleanup vmbus_open() for wrap around > mappings > > On Wed, Jul 06, 2016 at 05:25:02PM -0700, k...@exchange.microsoft.com > wrote: > > From: Vitaly Kuznetsov <vk

RE: [PATCH 1/4] Drivers: hv: cleanup vmbus_open() for wrap around mappings

2016-08-31 Thread KY Srinivasan
; jasow...@redhat.com; leann.ogasaw...@canonical.com > Subject: Re: [PATCH 1/4] Drivers: hv: cleanup vmbus_open() for wrap around > mappings > > On Wed, Jul 06, 2016 at 05:25:02PM -0700, k...@exchange.microsoft.com > wrote: > > From: Vitaly Kuznetsov > > > > In prepa

Re: [PATCH 1/4] Drivers: hv: cleanup vmbus_open() for wrap around mappings

2016-08-31 Thread Greg KH
On Wed, Jul 06, 2016 at 05:25:02PM -0700, k...@exchange.microsoft.com wrote: > From: Vitaly Kuznetsov > > In preparation for doing wrap around mappings for ring buffers cleanup > vmbus_open() function: > - check that ring sizes are PAGE_SIZE aligned (they are for all

Re: [PATCH 1/4] Drivers: hv: cleanup vmbus_open() for wrap around mappings

2016-08-31 Thread Greg KH
On Wed, Jul 06, 2016 at 05:25:02PM -0700, k...@exchange.microsoft.com wrote: > From: Vitaly Kuznetsov > > In preparation for doing wrap around mappings for ring buffers cleanup > vmbus_open() function: > - check that ring sizes are PAGE_SIZE aligned (they are for all in-kernel > drivers now);

[PATCH 1/4] Drivers: hv: cleanup vmbus_open() for wrap around mappings

2016-07-06 Thread kys
From: Vitaly Kuznetsov In preparation for doing wrap around mappings for ring buffers cleanup vmbus_open() function: - check that ring sizes are PAGE_SIZE aligned (they are for all in-kernel drivers now); - kfree(open_info) on error only after we kzalloc() it (not an issue

[PATCH 1/4] Drivers: hv: cleanup vmbus_open() for wrap around mappings

2016-07-06 Thread kys
From: Vitaly Kuznetsov In preparation for doing wrap around mappings for ring buffers cleanup vmbus_open() function: - check that ring sizes are PAGE_SIZE aligned (they are for all in-kernel drivers now); - kfree(open_info) on error only after we kzalloc() it (not an issue as it is valid to

[PATCH 1/4] Drivers: hv: cleanup vmbus_open() for wrap around mappings

2016-06-10 Thread Vitaly Kuznetsov
In preparation for doing wrap around mappings for ring buffers cleanup vmbus_open() function: - check that ring sizes are PAGE_SIZE aligned (they are for all in-kernel drivers now); - kfree(open_info) on error only after we kzalloc() it (not an issue as it is valid to call kfree(NULL); -

[PATCH 1/4] Drivers: hv: cleanup vmbus_open() for wrap around mappings

2016-06-10 Thread Vitaly Kuznetsov
In preparation for doing wrap around mappings for ring buffers cleanup vmbus_open() function: - check that ring sizes are PAGE_SIZE aligned (they are for all in-kernel drivers now); - kfree(open_info) on error only after we kzalloc() it (not an issue as it is valid to call kfree(NULL); -