summaryrefslogtreecommitdiffstats
path: root/drivers/powercap
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2016-11-30 08:06:12 +0100
committerAlex Williamson <alex.williamson@redhat.com>2016-12-01 16:45:49 +0100
commitd256459fae4dba66d50850f2d948306503818913 (patch)
treef9acd3ff5693a5bfec056c531808aee9963adf78 /drivers/powercap
parentvfio: fix vfio_info_cap_add/shift (diff)
downloadlinux-d256459fae4dba66d50850f2d948306503818913.tar.xz
linux-d256459fae4dba66d50850f2d948306503818913.zip
vfio: Fix handling of error returned by 'vfio_group_get_from_dev()'
'vfio_group_get_from_dev()' seems to return only NULL on error, not an error pointer. Fixes: 2169037dc322 ("vfio iommu: Added pin and unpin callback functions to vfio_iommu_driver_ops") Fixes: c086de818dd8 ("vfio iommu: Add blocking notifier to notify DMA_UNMAP") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/powercap')
0 files changed, 0 insertions, 0 deletions