linux/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 hv: add SPDX license id to Kconfig 2018-03-28 13:24:56 +02:00
Makefile hv_balloon: trace post_status 2018-03-06 09:57:17 -08:00
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 Drivers: hv: vmbus: Removed an unnecessary cast from void * 2018-05-15 09:40:37 +02:00
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 Drivers: hv: fcopy: restore correct transfer length 2017-09-22 10:29:54 +02:00
hv_kvp.c Drivers: hv: kvp: Use MAX_ADAPTER_ID_SIZE for translating adapter id 2017-08-16 09:14:43 -07:00
hv_snapshot.c Merge 4.11-rc4 into char-misc-next 2017-03-27 09:13:04 +02:00
hv_trace.c hv: add SPDX license to trace 2018-03-28 13:24:56 +02:00
hv_trace.h hv: add SPDX license to trace 2018-03-28 13:24:56 +02:00
hv_trace_balloon.h hv_balloon: trace post_status 2018-03-06 09:57:17 -08:00
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 vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
hv_utils_transport.h Drivers: hv: util: move waiting for release to hv_utils_transport itself 2017-03-16 16:42:00 +09:00
hyperv_vmbus.h Drivers: hv: vmbus: enable VMBus protocol version 5.0 2018-05-14 16:06:48 +02:00
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