linux-stable/tools/virtio/linux
Peng Fan b9ca93bcd1 tools/virtio: add krealloc_array
krealloc_array is used in drivers/vhost/vringh.c, add it to avoid build
failure.

Drop WARN_ON_ONCE, because duplicated with the one in bug.h

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/20201209084205.24062-3-peng.fan@oss.nxp.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2020-12-18 16:14:30 -05:00
..
bug.h tools/virtio: include asm/bug.h 2020-12-18 16:14:30 -05:00
compiler.h tools/virtio: define aligned attribute 2020-04-17 06:05:29 -04:00
device.h
dma-mapping.h tools/virtio: more stubs 2019-10-11 09:27:27 -04:00
err.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
export.h tools/virtio: fix build after 4.2 changes 2015-09-09 22:03:30 +03:00
hrtimer.h tools/virtio: add linux/hrtimer.h stub 2012-02-28 09:13:14 +02:00
irqreturn.h tools/virtio: separate headers more. 2013-03-20 14:00:42 +10:30
kernel.h tools/virtio: add krealloc_array 2020-12-18 16:14:30 -05:00
kmemleak.h tools/virtio: fix missing kmemleak_ignore symbol 2014-03-13 11:23:25 +10:30
module.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
printk.h tools/virtio: separate headers more. 2013-03-20 14:00:42 +10:30
ratelimit.h tools/virtio: separate headers more. 2013-03-20 14:00:42 +10:30
scatterlist.h sg: remove ->sg_magic member 2018-06-29 08:48:06 -06:00
slab.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
thread_info.h tools/virtio: more stubs to fix tools build 2018-01-29 12:02:54 -05:00
uaccess.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
uio.h tools/virtio: add vring_test. 2013-03-20 14:06:04 +10:30
virtio.h tools/virtio: Use tools/include/list.h instead of stubs 2020-06-22 12:34:22 -04:00
virtio_byteorder.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
virtio_config.h virtio: virtio_has_iommu_quirk -> virtio_has_dma_quirk 2020-08-03 16:11:42 -04:00
virtio_ring.h tools/virtio: separate headers more. 2013-03-20 14:00:42 +10:30
vringh.h tools/virtio: separate headers more. 2013-03-20 14:00:42 +10:30