diff options
| author | Tianyu Lan <[email protected]> | 2022-07-28 07:24:20 +0000 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2022-07-28 14:23:30 +0000 |
| commit | 5c850d31880e00f063fa2a3746ba212c4bcc510f (patch) | |
| tree | d567d8722178f5759f98f1b32e528dcb768cc3a3 /drivers/fpga/microchip-spi.c | |
| parent | dma-mapping: reformat comment to suppress htmldoc warning (diff) | |
| download | kernel-5c850d31880e00f063fa2a3746ba212c4bcc510f.tar.gz kernel-5c850d31880e00f063fa2a3746ba212c4bcc510f.zip | |
swiotlb: fix passing local variable to debugfs_create_ulong()
Debugfs node will be run-timely checked and so local variable
should be not passed to debugfs_create_ulong(). Fix it via
debugfs_create_file() to create io_tlb_used node and calculate
used io tlb number with fops_io_tlb_used attribute.
Fixes: 20347fca71a3 ("swiotlb: split up the global swiotlb lock")
Signed-off-by: Tianyu Lan <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'drivers/fpga/microchip-spi.c')
0 files changed, 0 insertions, 0 deletions
