[RFC PATCH] Drivers: HV: sysctl_record_panic_msg can be static

kbuild test robot fengguang.wu at intel.com
Thu May 24 02:56:55 UTC 2018


Fixes: d3803e3587be ("Drivers: HV: Send one page worth of kmsg dump over Hyper-V during panic")
Signed-off-by: kbuild test robot <fengguang.wu at intel.com>
---
 vmbus_drv.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c
index 16b0505..762b38c 100644
--- a/drivers/hv/vmbus_drv.c
+++ b/drivers/hv/vmbus_drv.c
@@ -1025,7 +1025,7 @@ static void vmbus_isr(void)
  *
  * It can be set via /proc/sys/kernel/hyperv/record_panic_msg
  */
-int sysctl_record_panic_msg = 1;
+static int sysctl_record_panic_msg = 1;
 
 /*
  * Callback from kmsg_dump. Grab as much as possible from the end of the kmsg


More information about the devel mailing list