aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorNicolin Chen <[email protected]>2022-10-17 16:02:36 -0700
committerJason Gunthorpe <[email protected]>2022-11-01 14:39:59 -0300
commit04cee82e04d2aff3d177ef0021ecdff228daf7b8 (patch)
tree90f8594160033bc1804a9eed311d8f78129134b9 /lib/memory-notifier-error-inject.c
parentf4a14773579302e5f0c4bf80b03f0db7ce67f2ce (diff)
iommu: Propagate return value in ->attach_dev callback functions
The mtk_iommu and virtio drivers have places in the ->attach_dev callback functions that return hardcode errnos instead of the returned values, but callers of these ->attach_dv callback functions may care. Propagate them directly without the extra conversions. Link: https://lore.kernel.org/r/ca8c5a447b87002334f83325f28823008b4ce420.1666042873.git.nicolinc@nvidia.com Reviewed-by: Kevin Tian <[email protected]> Reviewed-by: Jean-Philippe Brucker <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Reviewed-by: Yong Wu <[email protected]> Signed-off-by: Nicolin Chen <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions