Thread (18 messages) 18 messages, 4 authors, 2019-09-05

Re: [PATCH V5 3/5] iommu/dma-iommu: Handle deferred devices

From: Christoph Hellwig <hch@infradead.org>
Date: 2019-08-20 09:43:13
Also in: linux-arm-msm, linux-iommu, linux-mediatek, linux-rockchip, linux-s390, linux-samsung-soc, linux-tegra, lkml

+static int handle_deferred_device(struct device *dev,
+	struct iommu_domain *domain)
Nitick: we usually use double tab indents (or indents to after
the opening brace) for multi-line prototyped.
+	if (!is_kdump_kernel())
+		return 0;
+
+	if (unlikely(ops->is_attach_deferred &&
+		ops->is_attach_deferred(domain, dev)))
+		return iommu_attach_device(domain, dev);
And for multi-line conditionals we also use two-tab indents.

_______________________________________________
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