summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorDexuan Cui <decui@microsoft.com>2018-12-13 16:35:43 +0000
committerSasha Levin <sashal@kernel.org>2018-12-13 14:58:27 -0500
commitfc96df16a1ce80cbb3c316ab7d4dc8cd5c2852ce (patch)
tree0e5d0b7ec288a6c7b6d4e245a07bb126612fdbf4 /block
parentc629421a990033ba539eb8585e73a2e6fa9ea631 (diff)
Drivers: hv: vmbus: Return -EINVAL for the sys files for unopened channels
Before 98f4c651762c, we returned zeros for unopened channels. With 98f4c651762c, we started to return random on-stack values. We'd better return -EINVAL instead. Fixes: 98f4c651762c ("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>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions