RE: [PATCH 1/6] drivers: hv: Fix hyperv_record_panic_msg path on comment

From: Michael Kelley
Date: Sun Nov 15 2020 - 17:12:06 EST


From: Matheus Castello <matheus@xxxxxxxxxxxxxxx> Sent: Sunday, November 15, 2020 11:57 AM
>
> Fix the kernel parameter path in the comment, in the documentation the
> parameter is correct but if someone who is studying the code and see
> this first can get confused and try to access the wrong path/parameter
>
> Signed-off-by: Matheus Castello <matheus@xxxxxxxxxxxxxxx>
> ---
> drivers/hv/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 4fad3e6745e5..9ed7e3b1d654 100644
> --- a/drivers/hv/vmbus_drv.c
> +++ b/drivers/hv/vmbus_drv.c
> @@ -55,7 +55,7 @@ int vmbus_interrupt;
> /*
> * Boolean to control whether to report panic messages over Hyper-V.
> *
> - * It can be set via /proc/sys/kernel/hyperv/record_panic_msg
> + * It can be set via /proc/sys/kernel/hyperv_record_panic_msg
> */
> static int sysctl_record_panic_msg = 1;
>
> --
> 2.28.0

Reviewed-by: Michael Kelley <mikelley@xxxxxxxxxxxxx>