Skip to content

Commit 3e0d377

Browse files
YueHaibingliuw
authored andcommitted
hv_debugfs: Make hv_debug_root static
Fix sparse warning: drivers/hv/hv_debugfs.c:14:15: warning: symbol 'hv_debug_root' was not declared. Should it be static? Reported-by: Hulk Robot <[email protected]> Signed-off-by: YueHaibing <[email protected]> Reviewed-by: Michael Kelley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Wei Liu <[email protected]>
1 parent 032d4a4 commit 3e0d377

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/hv/hv_debugfs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
#include "hyperv_vmbus.h"
1313

14-
struct dentry *hv_debug_root;
14+
static struct dentry *hv_debug_root;
1515

1616
static int hv_debugfs_delay_get(void *data, u64 *val)
1717
{

0 commit comments

Comments
 (0)