aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/rcu.c
diff options
context:
space:
mode:
authorAl Viro <[email protected]>2025-07-02 21:25:42 +0000
committerGreg Kroah-Hartman <[email protected]>2025-07-09 11:30:29 +0000
commit00bbe512e60f681aef132f0dd2c92eb6521acef1 (patch)
tree5a04cb5b3fd42cec1591a3ffbebb5df274cc41ba /rust/helpers/rcu.c
parentdebugfs: split short and full proxy wrappers, kill debugfs_real_fops() (diff)
downloadkernel-00bbe512e60f681aef132f0dd2c92eb6521acef1.tar.gz
kernel-00bbe512e60f681aef132f0dd2c92eb6521acef1.zip
fix tt_command_write()
1) unbalanced debugfs_file_get(). Not needed in the first place - file_operations are accessed only via debugfs_create_file(), so debugfs wrappers will take care of that itself. 2) kmalloc() for a buffer used only for duration of a function is not a problem, but for a buffer no longer than 16 bytes? 3) strstr() is for finding substrings; for finding a character there's strchr(). Signed-off-by: Al Viro <[email protected]> Acked-by: "Rafael J. Wysocki" <[email protected]> Link: https://lore.kernel.org/r/20250702212542.GH3406663@ZenIV Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'rust/helpers/rcu.c')
0 files changed, 0 insertions, 0 deletions