diff options
author | Peng Fan | 2020-12-09 16:42:04 +0800 |
---|---|---|
committer | Michael S. Tsirkin | 2020-12-18 16:14:30 -0500 |
commit | b9ca93bcd186ec4144df91c619f6084cdad500ec (patch) | |
tree | ee23e631e2f6e67e43d0f7fe172fa70ba110b0e3 /tools/virtio/asm/barrier.h | |
parent | 697d1549140cdcdc4cfcd0bf94e62643008972b7 (diff) |
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>
Diffstat (limited to 'tools/virtio/asm/barrier.h')
0 files changed, 0 insertions, 0 deletions