[PATCH 6.1 195/482] RDMA/core: reduce stack using in nldev_stat_get_doit()