diff for duplicates of <1788080.QuLk5ExqBm@avalon> diff --git a/a/1.txt b/N1/1.txt index a078c0a..bcfc45f 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -435,14 +435,14 @@ bool could do here. > + idx = find_next_zero_bit(&tmp_bitmap, BITS_PER_LONG, > + idx); > + if (!((alloc_mask << idx) & priv->alloc_bitmaps[i]) || -> + (idx = BITS_PER_LONG)) +> + (idx == BITS_PER_LONG)) > + break; > + idx++; > + } > + if (idx < BITS_PER_LONG) > + break; > + } -> + if (i = NR_BITMAPS) { +> + if (i == NR_BITMAPS) { > + mutex_unlock(&priv->alloc_lock); > + return 0; > + } @@ -551,7 +551,7 @@ bool could do here. > + > + mutex_lock(&priv->pmb_lock); > + idx = find_first_zero_bit(&priv->busy_pmbs, PMB_NR); -> + if (idx = PMB_NR) +> + if (idx == PMB_NR) You should unlock the mutex here. diff --git a/a/content_digest b/N1/content_digest index c6b0e2d..4ac32fc 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\01358490910-30716-1-git-send-email-dhobsong@igel.co.jp\0" - "From\0Laurent Pinchart <laurent.pinchart@ideasonboard.com>\0" - "Subject\0Re: [PATCH] ARM: shmobile: ipmmu: Add basic PMB support\0" - "Date\0Mon, 21 Jan 2013 13:12:27 +0000\0" + "From\0laurent.pinchart@ideasonboard.com (Laurent Pinchart)\0" + "Subject\0[PATCH] ARM: shmobile: ipmmu: Add basic PMB support\0" + "Date\0Mon, 21 Jan 2013 14:12:27 +0100\0" "To\0linux-arm-kernel@lists.infradead.org\0" "\00:1\0" "b\0" @@ -442,14 +442,14 @@ "> +\t\t\tidx = find_next_zero_bit(&tmp_bitmap, BITS_PER_LONG,\n" "> +\t\t\t\t\tidx);\n" "> +\t\t\tif (!((alloc_mask << idx) & priv->alloc_bitmaps[i]) ||\n" - "> +\t\t\t\t\t(idx = BITS_PER_LONG))\n" + "> +\t\t\t\t\t(idx == BITS_PER_LONG))\n" "> +\t\t\t\tbreak;\n" "> +\t\t\tidx++;\n" "> +\t\t}\n" "> +\t\tif (idx < BITS_PER_LONG)\n" "> +\t\t\tbreak;\n" "> +\t}\n" - "> +\tif (i = NR_BITMAPS) {\n" + "> +\tif (i == NR_BITMAPS) {\n" "> +\t\tmutex_unlock(&priv->alloc_lock);\n" "> +\t\treturn 0;\n" "> +\t}\n" @@ -558,7 +558,7 @@ "> +\n" "> +\tmutex_lock(&priv->pmb_lock);\n" "> +\tidx = find_first_zero_bit(&priv->busy_pmbs, PMB_NR);\n" - "> +\tif (idx = PMB_NR)\n" + "> +\tif (idx == PMB_NR)\n" "\n" "You should unlock the mutex here.\n" "\n" @@ -746,4 +746,4 @@ "\n" Laurent Pinchart -0d95eb1cee4962da035137e3c5629309cb8c76f96346bdc94ab89ba64047757a +b40c54ecee1942ff87c407ee6762eba9e03ac27f24c5581c016b5b829f8766a3
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.