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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fixes: d3803e3587be ("Drivers: HV: Send one page worth of kmsg dump over Hyper-V during panic")
Signed-off-by: kbuild test robot <fengguang.wu@xxxxxxxxx>
---
 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
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux