diff options
author | Zhu Lingshan <lingshan.zhu@intel.com> | 2020-10-23 18:40:46 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2020-10-30 04:02:53 -0400 |
commit | e01afe36df1a9e42cacdb9c5b99512ec69a6f14b (patch) | |
tree | c4b8e9e2239abc8577a827d0660652848784a6cf /drivers/usb/cdns3/cdns3-ti.c | |
parent | 1eca16b231570c8ae57fb91fdfbc48eb52c6a93b (diff) |
vdpa: handle irq bypass register failure case
LKP considered variable 'ret' in vhost_vdpa_setup_vq_irq() as
a unused variable, so suggest we remove it. Actually it stores
return value of irq_bypass_register_producer(), but we did not
check it, we should handle the failure case.
This commit will print a message if irq bypass register producer
fail, in this case, vqs still remain functional.
Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com>
Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/r/20201023104046.404794-1-lingshan.zhu@intel.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions