diff options
author | Maíra Canal <[email protected]> | 2022-12-19 09:06:18 -0300 |
---|---|---|
committer | Maíra Canal <[email protected]> | 2022-12-22 14:59:16 -0300 |
commit | f2ede40e46e8cc64fcdac36c6942b42b21ef74ec (patch) | |
tree | 473ad34c4fc5a5817c4c062270208d5c2f17b200 /lib/test_fortify/write_overflow-strlcpy-src.c | |
parent | dbb23cf57178e1852b53eb544046eb06e3db9b4e (diff) |
drm/vc4: use new debugfs device-centered functions
Currently, vc4 has its own debugfs infrastructure that adds the debugfs
files on drm_dev_register(). With the introduction of the new debugfs,
functions, replace the vc4 debugfs structure with the DRM debugfs
device-centered function, drm_debugfs_add_file().
Moreover, remove the explicit error handling of debugfs related functions,
considering that the only failure mode is -ENOMEM and also that error
handling is not recommended for debugfs functions, as pointed out in [1].
[1] https://lore.kernel.org/all/[email protected]/
Signed-off-by: Maíra Canal <[email protected]>
Reviewed-by: Maxime Ripard <[email protected]>
Reviewed-by: Melissa Wen <[email protected]>
Acked-by: Daniel Vetter <[email protected]>
Signed-off-by: Maíra Canal <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions