aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorRichard Fitzgerald <[email protected]>2024-03-07 10:53:53 +0000
committerMark Brown <[email protected]>2024-03-07 13:03:54 +0000
commit66626b15636b5f5cf3d7f6104799f77462748974 (patch)
tree8828815174ab270680024a5a3b814922098c391a /lib/test_fortify/write_overflow-strncpy-src.c
parent7df3eb4cdb6bbfa482f51548b9fd47c2723c68ba (diff)
firmware: cirrus: cs_dsp: Initialize debugfs_root to invalid
Initialize debugfs_root to -ENODEV so that if the client never sets a valid debugfs root the debugfs files will not be created. A NULL pointer passed to any of the debugfs_create_*() functions means "create in the root of debugfs". It doesn't mean "ignore". Signed-off-by: Richard Fitzgerald <[email protected]> Link: https://msgid.link/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions