vdpa: ifcvf: return err when fail to request config irq
authorJason Wang <jasowang@redhat.com>
Thu, 23 Jul 2020 09:12:53 +0000 (17:12 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 26 Aug 2020 11:10:53 +0000 (07:10 -0400)
commit9f4ce5d72b8e7a1f750598407c99f9e39dfb12fc
treeabf3572c3b7bfa1cf27f840ab45e0c01b6b15937
parentd012a7190fc1fd72ed48911e77ca97ba4521bccd
vdpa: ifcvf: return err when fail to request config irq

We ignore the err of requesting config interrupt, fix this.

Fixes: e7991f376a4d ("ifcvf: implement config interrupt in IFCVF")
Cc: Zhu Lingshan <lingshan.zhu@intel.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Link: https://lore.kernel.org/r/20200723091254.20617-1-jasowang@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Zhu Lingshan <lingshan.zhu@intel.com>
Fixes: e7991f376a4d ("ifcvf: implement config interrupt in IFCVF")
Cc: Zhu Lingshan <a class="moz-txt-link-rfc2396E" href="mailto:lingshan.zhu@intel.com">&lt;lingshan.zhu@intel.com&gt;</a>
Signed-off-by: Jason Wang <a class="moz-txt-link-rfc2396E" href="mailto:jasowang@redhat.com">&lt;jasowang@redhat.com&gt;</a>
Tested-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/vdpa/ifcvf/ifcvf_main.c