diff options
author | Steven Rostedt (Google) <rostedt@goodmis.org> | 2023-11-22 02:10:06 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-12-20 19:02:00 +0300 |
commit | 6abb8c223ce12078a0f2c129656a13338dfe960b (patch) | |
tree | c608a6aa4d2ba98b5b26fd9e8630fdaf6785ef4d /drivers/net/usb/qmi_wwan.c | |
parent | a739ceb7474561e522250b6209f73c12f15c0b77 (diff) | |
download | linux-6abb8c223ce12078a0f2c129656a13338dfe960b.tar.xz |
eventfs: Do not allow NULL parent to eventfs_start_creating()
[ Upstream commit fc4561226feaad5fcdcb55646c348d77b8ee69c5 ]
The eventfs directory is dynamically created via the meta data supplied by
the existing trace events. All files and directories in eventfs has a
parent. Do not allow NULL to be passed into eventfs_start_creating() as
the parent because that should never happen. Warn if it does.
Link: https://lkml.kernel.org/r/20231121231112.693841807@goodmis.org
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/net/usb/qmi_wwan.c')
0 files changed, 0 insertions, 0 deletions