Skip to content

Commit 8110a7a

Browse files
nhukcdavem330
authored andcommitted
net: mvpp2: debugfs: Add pmap to fs dump
There was an unused variable 'mvpp2_dbgfs_prs_pmap_fops' Added a usage consistent with other fops to dump pmap to userspace. Cc: clang-built-linux@googlegroups.com Link: ClangBuiltLinux/linux#529 Signed-off-by: Nathan Huckleberry <nhuck@google.com> Tested-by: Nick Desaulniers <ndesaulniers@google.com> Reviewed-by: Nick Desaulniers <ndesaulniers@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent c7036d9 commit 8110a7a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -566,6 +566,9 @@ static int mvpp2_dbgfs_prs_entry_init(struct dentry *parent,
566566
debugfs_create_file("hits", 0444, prs_entry_dir, entry,
567567
&mvpp2_dbgfs_prs_hits_fops);
568568

569+
debugfs_create_file("pmap", 0444, prs_entry_dir, entry,
570+
&mvpp2_dbgfs_prs_pmap_fops);
571+
569572
return 0;
570573
}
571574

0 commit comments

Comments
 (0)