Thread (10 messages) 10 messages, 3 authors, 2022-09-23

Re: [PATCH v5 6/6] iommu: Propagate return value in ->attach_dev callback functions

From: Yong Wu <yong.wu@mediatek.com>
Date: 2022-09-23 01:10:24
Also in: linux-iommu, linux-mediatek, lkml

On Thu, 2022-09-22 at 01:54 -0700, Nicolin Chen wrote:
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.

Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Jean-Philippe Brucker <redacted>
Signed-off-by: Nicolin Chen <redacted>
---
 drivers/iommu/mtk_iommu.c    | 2 +-
 drivers/iommu/virtio-iommu.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Yong Wu <yong.wu@mediatek.com> #For mtk_iommu.c

Thanks.


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help