mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
RDMA/ocrdma: accept boolean value in ocrdma_dbgfs_ops_write()
Since reset is actually controlled by the boolean flag rather than long, switch to 'kstrtobool_from_user()' and use the latter for an overall simplification of 'ocrdma_dbgfs_ops_write()'. Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru> Link: https://patch.msgid.link/20260723071845.568718-1-dmantipov@yandex.ru Signed-off-by: Leon Romanovsky <leon@kernel.org>
This commit is contained in:
parent
7ddcd75596
commit
66fd61fe1a
1 changed files with 8 additions and 18 deletions
Loading…
Add table
Add a link
Reference in a new issue