linux-stable/drivers/virtio
Bo Liu 95bf979877 virtio: Check dev_set_name() return value
It's possible that dev_set_name() returns -ENOMEM, catch and handle this.

Signed-off-by: Bo Liu <liubo03@inspur.com>
Message-Id: <20220707031751.4802-1-liubo03@inspur.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
2022-08-11 04:26:07 -04:00
..
Kconfig drivers/virtio: Clarify CONFIG_VIRTIO_MEM for unsupported architectures 2022-08-11 04:06:38 -04:00
Makefile virtio-pci: introduce legacy device module 2021-11-01 04:30:34 -04:00
virtio.c virtio: Check dev_set_name() return value 2022-08-11 04:26:07 -04:00
virtio_balloon.c virtio: Replace unsigned with unsigned int 2022-05-31 12:45:09 -04:00
virtio_dma_buf.c dma-buf: move dma-buf symbols into the DMA_BUF module namespace 2021-10-25 14:53:08 +02:00
virtio_input.c virtio: wrap config->reset calls 2022-01-14 18:50:52 -05:00
virtio_mem.c drivers: virtio_mem: use pageblock size as the minimum virtio_mem size. 2022-05-13 07:20:13 -07:00
virtio_mmio.c virtio_mmio: support the arg sizes of find_vqs() 2022-08-11 04:06:41 -04:00
virtio_pci_common.c virtio_pci: support the arg sizes of find_vqs() 2022-08-11 04:06:41 -04:00
virtio_pci_common.h virtio_pci: support the arg sizes of find_vqs() 2022-08-11 04:06:41 -04:00
virtio_pci_legacy.c virtio_pci: support the arg sizes of find_vqs() 2022-08-11 04:06:41 -04:00
virtio_pci_legacy_dev.c virtio/virtio_pci_legacy_dev: ensure the correct return value 2022-01-14 18:50:53 -05:00
virtio_pci_modern.c virtio_pci: support the arg sizes of find_vqs() 2022-08-11 04:06:41 -04:00
virtio_pci_modern_dev.c virtio_pci: introduce helper to get/set queue reset 2022-08-11 04:06:40 -04:00
virtio_ring.c virtio_ring: struct virtqueue introduce reset 2022-08-11 04:06:40 -04:00
virtio_vdpa.c virtio: find_vqs() add arg sizes 2022-08-11 04:06:40 -04:00