]> git.baikalelectronics.ru Git - kernel.git/commit
virtio-mem: print debug messages from virtio_mem_send_*_request()
authorDavid Hildenbrand <david@redhat.com>
Thu, 12 Nov 2020 13:37:53 +0000 (14:37 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 18 Dec 2020 21:14:25 +0000 (16:14 -0500)
commit89a47b126aca0556cbe66e042746587871c8f643
tree7981801fa967b9c0a3a320adb764fdc332d6cf5a
parent9f67fd519454ed8b4b20c6f451bb0ade532da75a
virtio-mem: print debug messages from virtio_mem_send_*_request()

Let's move the existing dev_dbg() into the functions, print if something
went wrong, and also print for virtio_mem_send_unplug_all_request().

Reviewed-by: Wei Yang <richard.weiyang@linux.alibaba.com>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Jason Wang <jasowang@redhat.com>
Cc: Pankaj Gupta <pankaj.gupta.linux@gmail.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Link: https://lore.kernel.org/r/20201112133815.13332-8-david@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/virtio/virtio_mem.c