mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-12-29 09:16:33 +00:00
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 <hulkci@huawei.com> Signed-off-by: YueHaibing <yuehaibing@huawei.com> Reviewed-by: Michael Kelley <mikelley@microsoft.com> Link: https://lore.kernel.org/r/20200403082845.22740-1-yuehaibing@huawei.com Signed-off-by: Wei Liu <wei.liu@kernel.org>
This commit is contained in:
parent
032d4a4802
commit
3e0d377650
@ -11,7 +11,7 @@
|
||||
|
||||
#include "hyperv_vmbus.h"
|
||||
|
||||
struct dentry *hv_debug_root;
|
||||
static struct dentry *hv_debug_root;
|
||||
|
||||
static int hv_debugfs_delay_get(void *data, u64 *val)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user