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:
Dmitry Antipov 2026-07-23 10:18:45 +03:00 • committed by Leon Romanovsky
commit 66fd61fe1a