aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netfront.c
diff options
context:
space:
mode:
authorDexuan Cui <[email protected]>2018-12-13 16:35:43 +0000
committerSasha Levin <[email protected]>2018-12-13 19:58:27 +0000
commitfc96df16a1ce80cbb3c316ab7d4dc8cd5c2852ce (patch)
tree0e5d0b7ec288a6c7b6d4e245a07bb126612fdbf4 /drivers/net/xen-netfront.c
parentx86, hyperv: remove PCI dependency (diff)
downloadkernel-fc96df16a1ce80cbb3c316ab7d4dc8cd5c2852ce.tar.gz
kernel-fc96df16a1ce80cbb3c316ab7d4dc8cd5c2852ce.zip
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: [email protected] Cc: K. Y. Srinivasan <[email protected]> Cc: Haiyang Zhang <[email protected]> Cc: Stephen Hemminger <[email protected]> Signed-off-by: Dexuan Cui <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
Diffstat (limited to 'drivers/net/xen-netfront.c')
0 files changed, 0 insertions, 0 deletions