diff for duplicates of <2341043.PcEjBaApc7@avalon> diff --git a/a/1.txt b/N1/1.txt index 0056bf9..bb6b3e3 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -118,7 +118,7 @@ i is a perfectly fine loop counter :-) > - domain = to_vmsa_domain(io_domain); > + /* Check interrupts for all active contexts */ > + for (k = find_first_bit(mmu->ctx, IPMMU_CTX_MAX); -> + k < IPMMU_CTX_MAX && status == IRQ_NONE; +> + k < IPMMU_CTX_MAX && status = IRQ_NONE; > + k = find_next_bit(mmu->ctx, IPMMU_CTX_MAX, k)) You can just loop over mmu->domains and skip NULL entries. diff --git a/a/content_digest b/N1/content_digest index 026bf15..4af13d0 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\020151215120249.26216.25148.sendpatchset@little-apple\0" "From\0Laurent Pinchart <laurent.pinchart@ideasonboard.com>\0" "Subject\0Re: [PATCH 04/06] iommu/ipmmu-vmsa: Rework interrupt code and use bitmap for context\0" - "Date\0Tue, 29 Dec 2015 02:14:22 +0200\0" + "Date\0Tue, 29 Dec 2015 00:14:22 +0000\0" "To\0Magnus Damm <magnus.damm@gmail.com>\0" "Cc\0iommu@lists.linux-foundation.org" laurent.pinchart+renesas@ideasonboard.com @@ -133,7 +133,7 @@ "> -\tdomain = to_vmsa_domain(io_domain);\n" "> +\t/* Check interrupts for all active contexts */\n" "> +\tfor (k = find_first_bit(mmu->ctx, IPMMU_CTX_MAX);\n" - "> +\t k < IPMMU_CTX_MAX && status == IRQ_NONE;\n" + "> +\t k < IPMMU_CTX_MAX && status = IRQ_NONE;\n" "> +\t k = find_next_bit(mmu->ctx, IPMMU_CTX_MAX, k))\n" "\n" "You can just loop over mmu->domains and skip NULL entries.\n" @@ -161,4 +161,4 @@ "\n" Laurent Pinchart -2bd5cb6950600f767c4a8dd28f4f4c26c07a43d466a44e8655f80ea9a7106d0f +61b8f1a3e40dde39925b4946f067ccc5381a5f1db16f7e00dde998537aa7f89a
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.