linux/drivers/hv
Jason Wang 2608fb6531 drivers: hv: allocate synic structures before hv_synic_init()
We currently allocate synic structures in hv_sync_init(), but there's no way for
the driver to know about the allocation failure and it may continue to use the
uninitialized pointers. Solve this by introducing helpers for allocating and
freeing and doing the allocation before the on_each_cpu() call in
vmbus_bus_init().

Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-06-24 16:24:17 -07:00
..
channel_mgmt.c Drivers: hv: vmbus: Implement multi-channel support 2013-06-03 14:09:14 -07:00
channel.c Drivers: hv: vmbus: Implement multi-channel support 2013-06-03 14:09:14 -07:00
connection.c Drivers: hv: vmbus: Implement multi-channel support 2013-06-03 14:09:14 -07:00
hv_balloon.c
hv_kvp.c
hv_snapshot.c
hv_util.c
hv.c drivers: hv: allocate synic structures before hv_synic_init() 2013-06-24 16:24:17 -07:00
hyperv_vmbus.h drivers: hv: allocate synic structures before hv_synic_init() 2013-06-24 16:24:17 -07:00
Kconfig
Makefile
ring_buffer.c drivers: hv: check interrupt mask before read_index 2013-06-24 16:24:17 -07:00
vmbus_drv.c drivers: hv: allocate synic structures before hv_synic_init() 2013-06-24 16:24:17 -07:00