diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2023-07-07 05:07:15 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2023-07-07 05:07:15 +0300 |
commit | 8066178f530898e4be07406a4c359a2cd14754e8 (patch) | |
tree | 40ec53a5b89d48f155f9ab4e262f25b7e3d6c1f4 /drivers/watchdog/retu_wdt.c | |
parent | 7fdeb23f32d6843c34ad1a4200d04069ff339906 (diff) | |
parent | fddca7db4a4c17f7333793dfb5308d80c76d2896 (diff) | |
download | linux-8066178f530898e4be07406a4c359a2cd14754e8.tar.xz |
Merge tag 'trace-v6.5-2' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace
Pull tracing fixes from Steven Rostedt:
- Fix bad git merge of #endif in arm64 code
A merge of the arm64 tree caused #endif to go into the wrong place
- Fix crash on lseek of write access to tracefs/error_log
Opening error_log as write only, and then doing an lseek() causes a
kernel panic, because the lseek() handle expects a "seq_file" to
exist (which is not done on write only opens). Use tracing_lseek()
that tests for this instead of calling the default seq lseek handler.
- Check for negative instead of -E2BIG for error on strscpy() returns
Instead of testing for -E2BIG from strscpy(), to be more robust,
check for less than zero, which will make sure it catches any error
that strscpy() may someday return.
* tag 'trace-v6.5-2' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
tracing/boot: Test strscpy() against less than zero for error
arm64: ftrace: fix build error with CONFIG_FUNCTION_GRAPH_TRACER=n
tracing: Fix null pointer dereference in tracing_err_log_open()
Diffstat (limited to 'drivers/watchdog/retu_wdt.c')
0 files changed, 0 insertions, 0 deletions