diff options
| author | Devin Wittmayer <lucid_duck@justthetip.ca> | 2026-10-15 22:27:22 -0700 |
|---|---|---|
| committer | Jocelyn Falempe <jfalempe@redhat.com> | 2026-10-19 11:39:47 +0200 |
| commit | 3706caf4da279686b9b95a253eb1d39b1fa12192 (patch) | |
| tree | 714bf3bac41937e22f5546c59f9bcb4df7c8886b /include/linux/debugobjects.h | |
| parent | 1ba6405638439a4214783965538b0196c8de8a5b (diff) | |
drm/panic: Accept a trailing newline in panic_screen
Setting the panic screen through sysfs with echo fails with EINVAL,
because the value ends in a newline. Ignore it when matching.
Fixes: e85e9ccf3f84 ("drm/panic: Report invalid or unsupported panic modes")
Signed-off-by: Devin Wittmayer <lucid_duck@justthetip.ca>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Link: https://patch.msgid.link/20261016052722.60051-2-lucid_duck@justthetip.ca
Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
