Messages in this thread | | | From | Michael Kelley <> | Subject | RE: [PATCH V3 2/6] x86/Hyper-V: Free hv_panic_page when fail to register kmsg dump | Date | Wed, 25 Mar 2020 18:30:03 +0000 |
| |
From: Tianyu Lan <Tianyu.Lan@microsoft.com> Sent: Tuesday, March 24, 2020 12:57 AM > > If kmsg_dump_register() fails, hv_panic_page will not be used > anywhere. So free and reset it. > > Signed-off-by: Tianyu Lan <Tianyu.Lan@microsoft.com> > --- > Change since v1: > - Update commit log > - Remove hv_free_hyperv_page() in the error path > --- > drivers/hv/vmbus_drv.c | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) >
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
| |