Thread (3 messages) 3 messages, 3 authors, 2021-08-19

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

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>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help