diff options
| author | Stephen Hemminger <[email protected]> | 2018-08-20 21:16:40 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-09-12 07:31:00 +0000 |
| commit | 6712cc9c22117a8af9f3df272b4a44fd2e4201cd (patch) | |
| tree | a611d54ecc7834995fc5f3371d8ccdb1ba652a79 /tools/perf/scripts/python/sched-migration.py | |
| parent | fpga: dfl: fme: fix return value check in in pr_mgmt_init() (diff) | |
| download | kernel-6712cc9c22117a8af9f3df272b4a44fd2e4201cd.tar.gz kernel-6712cc9c22117a8af9f3df272b4a44fd2e4201cd.zip | |
vmbus: don't return values for uninitalized channels
For unsupported device types, the vmbus channel ringbuffer is never
initialized, and therefore reading the sysfs files will return garbage
or cause a kernel OOPS.
Fixes: c2e5df616e1a ("vmbus: add per-channel sysfs info")
Signed-off-by: Stephen Hemminger <[email protected]>
Signed-off-by: K. Y. Srinivasan <[email protected]>
Cc: <[email protected]> # 4.15
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
