]> git.baikalelectronics.ru Git - kernel.git/commit
vdpa: fix comment of vdpa_register_device()
authorJason Wang <jasowang@redhat.com>
Mon, 13 Apr 2020 09:37:38 +0000 (17:37 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 17 Apr 2020 10:05:30 +0000 (06:05 -0400)
commitc61a547842c2aec5a24e15c3856d7312888f85b0
tree5a184a8fa26f13e893559c00a5e71215e7514112
parentb94770ed3f8e3836e6832cbb5aca0fa0edcc6f60
vdpa: fix comment of vdpa_register_device()

The function should be called only after a success calling for
vdpa_alloc_device().

Reported-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Link: https://lore.kernel.org/r/20200413093738.28467-1-jasowang@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vdpa/vdpa.c