Conversation
Member
SuperQ
commented
Mar 5, 2021
- [BUGFIX] Handle errors from disabled PSI subsystem Handle errors from disabled PSI subsystem #1983
- [BUGFIX] Sanitize strings from /sys/class/power_supply Sanitize strings from /sys/class/power_supply #1984
- [BUGFIX] Silence missing netclass errors Silence missing netclass errors #1986
When CONFIG_PSI_DEFAULT_DISABLED=y, the pressure system returns "operation not supported", rather than permission denied or not exposing the /proc/pressure files. Fixes: #1961 Signed-off-by: Ben Kochie <superq@gmail.com>
Avoid panic on invalid UTF-8 from /sys/class/power_supply by sanitizing strings parsed from the kernel. * Add a broken string to the test fixtures. Fixes: #1979 Signed-off-by: Ben Kochie <superq@gmail.com>
* Handle no such file and permission denied errors. * Reduce excessive error wrapping. Fixes: #1840 Signed-off-by: Ben Kochie <superq@gmail.com>
roidelapluie
approved these changes
Mar 5, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.