* [PATCH] IOMMU: Removed checkpatch warnings for Missing a blank line after declarations
@ 2015-04-17 4:32 Robert Callicotte
2015-05-05 15:49 ` Joerg Roedel
0 siblings, 1 reply; 3+ messages in thread
From: Robert Callicotte @ 2015-04-17 4:32 UTC (permalink / raw)
To: joro; +Cc: iommu, linux-kernel
Fixed checkpatch warnings for missing blank line after declaration of
struct.
Signed-off-by: Robert Callicotte <rcallicotte@gmail.com>
---
drivers/iommu/iova.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/iommu/iova.c b/drivers/iommu/iova.c
index 9dd8208..b7c3d92 100644
--- a/drivers/iommu/iova.c
+++ b/drivers/iommu/iova.c
@@ -227,6 +227,7 @@ iova_insert_rbtree(struct rb_root *root, struct iova *iova)
/* Figure out where to put new node */
while (*new) {
struct iova *this = container_of(*new, struct iova, node);
+
parent = *new;
if (iova->pfn_lo < this->pfn_lo)
@@ -350,6 +351,7 @@ void
free_iova(struct iova_domain *iovad, unsigned long pfn)
{
struct iova *iova = find_iova(iovad, pfn);
+
if (iova)
__free_iova(iovad, iova);
@@ -369,6 +371,7 @@ void put_iova_domain(struct iova_domain *iovad)
node = rb_first(&iovad->rbroot);
while (node) {
struct iova *iova = container_of(node, struct iova, node);
+
rb_erase(node, &iovad->rbroot);
free_iova_mem(iova);
node = rb_first(&iovad->rbroot);
@@ -482,6 +485,7 @@ copy_reserved_iova(struct iova_domain *from, struct iova_domain *to)
for (node = rb_first(&from->rbroot); node; node = rb_next(node)) {
struct iova *iova = container_of(node, struct iova, node);
struct iova *new_iova;
+
new_iova = reserve_iova(to, iova->pfn_lo, iova->pfn_hi);
if (!new_iova)
printk(KERN_ERR "Reserve iova range %lx@%lx failed\n",
--
2.2.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] IOMMU: Removed checkpatch warnings for Missing a blank line after declarations
@ 2015-05-05 15:49 ` Joerg Roedel
0 siblings, 0 replies; 3+ messages in thread
From: Joerg Roedel @ 2015-05-05 15:49 UTC (permalink / raw)
To: Robert Callicotte; +Cc: iommu, linux-kernel
On Thu, Apr 16, 2015 at 11:32:47PM -0500, Robert Callicotte wrote:
> Fixed checkpatch warnings for missing blank line after declaration of
> struct.
>
> Signed-off-by: Robert Callicotte <rcallicotte@gmail.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] IOMMU: Removed checkpatch warnings for Missing a blank line after declarations
@ 2015-05-05 15:49 ` Joerg Roedel
0 siblings, 0 replies; 3+ messages in thread
From: Joerg Roedel @ 2015-05-05 15:49 UTC (permalink / raw)
To: Robert Callicotte
Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA
On Thu, Apr 16, 2015 at 11:32:47PM -0500, Robert Callicotte wrote:
> Fixed checkpatch warnings for missing blank line after declaration of
> struct.
>
> Signed-off-by: Robert Callicotte <rcallicotte-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Applied, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-05-05 16:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-17 4:32 [PATCH] IOMMU: Removed checkpatch warnings for Missing a blank line after declarations Robert Callicotte
2015-05-05 15:49 ` Joerg Roedel
2015-05-05 15:49 ` Joerg Roedel
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.