diff options
author | Dexuan Cui <[email protected]> | 2018-12-13 16:35:43 +0000 |
---|---|---|
committer | Sasha Levin <[email protected]> | 2018-12-13 14:58:27 -0500 |
commit | fc96df16a1ce80cbb3c316ab7d4dc8cd5c2852ce (patch) | |
tree | 0e5d0b7ec288a6c7b6d4e245a07bb126612fdbf4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c629421a990033ba539eb8585e73a2e6fa9ea631 (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: [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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions