RE: [PATCH] RDMA/hfi1: stop using seq_get_buf in _driver_stats_seq_show
From: Marciniszyn, Mike <hidden>
Date: 2021-08-11 16:54:54
From: Marciniszyn, Mike <hidden>
Date: 2021-08-11 16:54:54
Subject: [PATCH] RDMA/hfi1: stop using seq_get_buf in _driver_stats_seq_show Just use seq_write to copy the stats into the seq_file buffer instead of poking holes into the seq_file abstraction. Signed-off-by: Christoph Hellwig <hch@lst.de> --- drivers/infiniband/hw/hfi1/debugfs.c | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-)
Patch looks ok to me and it tests ok too! Reviewed-by: Mike Marciniszyn <redacted> Tested-by: Mike Marciniszyn <redacted>