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

2017-01-28 Thread KY Srinivasan
:40 PM > > > To: KY Srinivasan ; Haiyang Zhang > > > > > > Cc: de...@linuxdriverproject.org; Stephen Hemminger > > > > > > Subject: [PATCH 07/14] vmbus: remove conditional locking of > vmbus_write > > > > > > All current usage of vmbus write u

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

2017-01-27 Thread Dan Carpenter
2017 5:40 PM > > > To: KY Srinivasan ; Haiyang Zhang > > > > > > Cc: de...@linuxdriverproject.org; Stephen Hemminger > > > > > > Subject: [PATCH 07/14] vmbus: remove conditional locking of vmbus_write > > > > > > All current usage of

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

2017-01-27 Thread Stephen Hemminger
driverproject.org; Stephen Hemminger > > > > 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 war

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

2017-01-27 Thread KY Srinivasan
> -Original Message- > From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Monday, January 23, 2017 5:40 PM > To: KY Srinivasan ; Haiyang Zhang > > Cc: de...@linuxdriverproject.org; Stephen Hemminger > > Subject: [PATCH 07/14] vmbus: remov

[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 | 13 - driv