Files
twx-linux/drivers
Dexuan Cui dac7314127 Drivers: hv: vmbus: Return -EINVAL for the sys files for unopened channels
commit fc96df16a1 upstream.

Before 98f4c65176, we returned zeros for unopened channels.
With 98f4c65176, we started to return random on-stack values.

We'd better return -EINVAL instead.

Fixes: 98f4c65176 ("hv: move ringbuffer bus attributes to dev_groups")
Cc: stable@vger.kernel.org
Cc: K. Y. Srinivasan <kys@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Cc: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-12-29 13:40:15 +01:00
..
…
2018-07-22 14:27:36 +02:00
…
2018-12-21 14:11:37 +01:00
…
…
…
…
…
…
…
2018-12-21 14:11:37 +01:00
…
2018-08-22 07:47:14 +02:00
…
…
2018-12-29 13:40:15 +01:00
…
…
…
…
…
2018-11-10 07:43:00 -08:00
…
2018-12-21 14:11:36 +01:00
…
…
…
2018-11-13 11:17:04 -08:00
…
…
2018-11-13 11:17:02 -08:00
2018-11-27 16:09:41 +01:00
2018-10-03 17:01:42 -07:00
…
…
…
…