RE: [PATCH 07/14] vmbus: remove conditional locking of vmbus_write

2017-01-28 Thread KY Srinivasan
nger > <sthem...@microsoft.com> > Subject: Re: [PATCH 07/14] vmbus: remove conditional locking of > vmbus_write > > On Fri, 27 Jan 2017 18:08:35 + > KY Srinivasan <k...@microsoft.com> wrote: > > > > -Original Message- > > > From: Ste

Re: [PATCH 07/14] vmbus: remove conditional locking of vmbus_write

2017-01-27 Thread Dan Carpenter
gt; Sent: Monday, January 23, 2017 5:40 PM > > > To: KY Srinivasan <k...@microsoft.com>; Haiyang Zhang > > > <haiya...@microsoft.com> > > > Cc: de...@linuxdriverproject.org; Stephen Hemminger > > > <sthem...@microsoft.com> > > > Subject: [PA

Re: [PATCH 07/14] vmbus: remove conditional locking of vmbus_write

2017-01-27 Thread Stephen Hemminger
ft.com>; Haiyang Zhang > > <haiya...@microsoft.com> > > Cc: de...@linuxdriverproject.org; Stephen Hemminger > > <sthem...@microsoft.com> > > Subject: [PATCH 07/14] vmbus: remove conditional locking of vmbus_write > > > > All current usage of vmbus write uses

RE: [PATCH 07/14] vmbus: remove conditional locking of vmbus_write

2017-01-27 Thread KY Srinivasan
nger > <sthem...@microsoft.com> > Subject: [PATCH 07/14] vmbus: remove conditional locking of vmbus_write > > All current usage of vmbus write uses the acquire_lock flag, therefore > having it be optional is unnecessary. This also fixes a sparse warning > since spars

[PATCH 07/14] vmbus: remove conditional locking of vmbus_write

2017-01-23 Thread Stephen Hemminger
All current usage of vmbus write uses the acquire_lock flag, therefore having it be optional is unnecessary. This also fixes a sparse warning since sparse doesn't like when a function has conditional locking. Signed-off-by: Stephen Hemminger --- drivers/hv/channel.c