Re: [PATCH] RDMA/hfi1: stop using seq_get_buf in _driver_stats_seq_show
From: Jason Gunthorpe <jgg@nvidia.com>
Date: 2021-08-19 14:40:48
From: Jason Gunthorpe <jgg@nvidia.com>
Date: 2021-08-19 14:40:48
On Tue, Aug 10, 2021 at 05:17:11PM +0200, Christoph Hellwig wrote:
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> Reviewed-by: Mike Marciniszyn <redacted> Tested-by: Mike Marciniszyn <redacted> --- drivers/infiniband/hw/hfi1/debugfs.c | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-)
Applied to for-next, thanks Jason