diff options
| author | Bjorn Helgaas <bhelgaas@google.com> | 2021-11-05 11:28:46 -0500 |
|---|---|---|
| committer | Bjorn Helgaas <bhelgaas@google.com> | 2021-11-05 11:28:46 -0500 |
| commit | ebf275b8564ccc3a75a3ee8f9167a4a20794f050 (patch) | |
| tree | 392fff6b7aec124c5f41086600d76d136d604157 /tools/perf/scripts/python | |
| parent | Merge branch 'pci/switchtec' (diff) | |
| parent | PCI: Use kstrtobool() directly, sans strtobool() wrapper (diff) | |
| download | linux-ebf275b8564ccc3a75a3ee8f9167a4a20794f050.tar.gz linux-ebf275b8564ccc3a75a3ee8f9167a4a20794f050.zip | |
Merge branch 'pci/sysfs'
- Check for CAP_SYS_ADMIN before validating sysfs user input, not after
(Krzysztof Wilczyński)
- Always return -EINVAL from sysfs "store" functions for invalid user input
instead of -EINVAL sometimes and -ERANGE others (Krzysztof Wilczyński)
- Use kstrtobool() directly instead of the strtobool() wrapper (Krzysztof
Wilczyński)
* pci/sysfs:
PCI: Use kstrtobool() directly, sans strtobool() wrapper
PCI/sysfs: Return -EINVAL consistently from "store" functions
PCI/sysfs: Check CAP_SYS_ADMIN before parsing user input
# Conflicts:
# drivers/pci/iov.c
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
