Skip to content

Commit

Permalink
net: mvpp2: debugfs: Add pmap to fs dump
Browse files Browse the repository at this point in the history
There was an unused variable 'mvpp2_dbgfs_prs_pmap_fops'
Added a usage consistent with other fops to dump pmap
to userspace.

Cc: [email protected]
Link: ClangBuiltLinux#529
Signed-off-by: Nathan Huckleberry <[email protected]>
Tested-by: Nick Desaulniers <[email protected]>
Reviewed-by: Nick Desaulniers <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
nhukc authored and davem330 committed Jun 19, 2019
1 parent c7036d9 commit 8110a7a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,9 @@ static int mvpp2_dbgfs_prs_entry_init(struct dentry *parent,
debugfs_create_file("hits", 0444, prs_entry_dir, entry,
&mvpp2_dbgfs_prs_hits_fops);

debugfs_create_file("pmap", 0444, prs_entry_dir, entry,
&mvpp2_dbgfs_prs_pmap_fops);

return 0;
}

Expand Down

0 comments on commit 8110a7a

Please sign in to comment.