From: YueHaibing Date: Fri, 3 Apr 2020 08:28:45 +0000 (+0800) Subject: hv_debugfs: Make hv_debug_root static X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=3e0d3776501a215358e3d91045b74f35a7eeaad9;p=linux.git 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 Signed-off-by: YueHaibing Reviewed-by: Michael Kelley Link: https://lore.kernel.org/r/20200403082845.22740-1-yuehaibing@huawei.com Signed-off-by: Wei Liu --- diff --git a/drivers/hv/hv_debugfs.c b/drivers/hv/hv_debugfs.c index 8a28785735820..ccf752b6659a7 100644 --- a/drivers/hv/hv_debugfs.c +++ b/drivers/hv/hv_debugfs.c @@ -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) {