linux-stable/drivers/hv
Dexuan Cui fc96df16a1 Drivers: hv: vmbus: Return -EINVAL for the sys files for unopened channels
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>
2018-12-13 14:58:27 -05:00
..
channel_mgmt.c Drivers: hv: vmbus: Use cpumask_var_t for on-stack cpu mask 2018-10-02 15:37:01 -07:00
channel.c
connection.c
hv_balloon.c hv_balloon: Replace spin_is_locked() with lockdep 2018-10-15 20:54:17 +02:00
hv_fcopy.c
hv_kvp.c Drivers: hv: kvp: Fix two "this statement may fall through" warnings 2018-10-02 15:37:01 -07:00
hv_snapshot.c
hv_trace_balloon.h
hv_trace.c
hv_trace.h
hv_util.c
hv_utils_transport.c
hv_utils_transport.h
hv.c
hyperv_vmbus.h
Kconfig x86, hyperv: remove PCI dependency 2018-12-13 14:55:57 -05:00
Makefile
ring_buffer.c
vmbus_drv.c Drivers: hv: vmbus: Return -EINVAL for the sys files for unopened channels 2018-12-13 14:58:27 -05:00