WSL2-Linux-Kernel/drivers/hv
Michael Kelley 572086325c Drivers: hv: vmbus: Cleanup synic memory free path
clk_evt memory is not being freed when the synic is shutdown
or when there is an allocation error.  Add the appropriate
kfree() call, along with a comment to clarify how the memory
gets freed after an allocation error.  Make the free path
consistent by removing checks for NULL since kfree() and
free_page() already do the check.

Signed-off-by: Michael Kelley <mikelley@microsoft.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-08-02 10:20:59 +02:00
..
Kconfig
Makefile
channel.c Drivers: hv: vmbus: Remove use of slow_virt_to_phys() 2018-08-02 10:20:59 +02:00
channel_mgmt.c Drivers: hv: vmbus: Reset the channel callback in vmbus_onoffer_rescind() 2018-08-02 10:20:59 +02:00
connection.c
hv.c Drivers: hv: vmbus: Cleanup synic memory free path 2018-08-02 10:20:59 +02:00
hv_balloon.c use the new async probing feature for the hyperv drivers 2018-07-03 13:02:28 +02:00
hv_fcopy.c
hv_kvp.c
hv_snapshot.c
hv_trace.c
hv_trace.h
hv_trace_balloon.h
hv_util.c use the new async probing feature for the hyperv drivers 2018-07-03 13:02:28 +02:00
hv_utils_transport.c
hv_utils_transport.h
hyperv_vmbus.h
ring_buffer.c Drivers: hv: vmbus: Add comments on ring buffer signaling 2018-07-03 13:02:28 +02:00
vmbus_drv.c Drivers: hv: vmbus: add numa_node to sysfs 2018-07-29 08:09:56 +02:00