diff for duplicates of <47BB4EED.7020109@gmail.com> diff --git a/a/1.txt b/N1/1.txt index 3f3b81c..8184937 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -16,9 +16,19 @@ index b1a77b1..1e579e4 100644 * by one word. Thanks to Lynn Kerby for the fix and James McMechan * for the original diagnosis. */ -- if(*cow_offset = ((bitmap_len + sizeof(unsigned long) - 1) / +- if(*cow_offset == ((bitmap_len + sizeof(unsigned long) - 1) / - sizeof(unsigned long) - 1)) -+ if(*cow_offset = (DIV_ROUND_UP(bitmap_len, sizeof(unsigned long)) - 1)) ++ if(*cow_offset == (DIV_ROUND_UP(bitmap_len, sizeof(unsigned long)) - 1)) (*cow_offset)--; bitmap_words[0] = bitmap[*cow_offset]; + + +------------------------------------------------------------------------- +This SF.net email is sponsored by: Microsoft +Defy all challenges. Microsoft(R) Visual Studio 2008. +http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ +_______________________________________________ +User-mode-linux-devel mailing list +User-mode-linux-devel@lists.sourceforge.net +https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel diff --git a/a/content_digest b/N1/content_digest index 6b7ca69..524a2aa 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,9 @@ "From\0Jiri Olsa <olsajiri@gmail.com>\0" - "Subject\0[PATCH] uml: use DIV_ROUND_UP\0" - "Date\0Tue, 19 Feb 2008 21:49:33 +0000\0" - "To\0kernel-janitors@vger.kernel.org\0" + "Subject\0[uml-devel] [PATCH] uml: use DIV_ROUND_UP\0" + "Date\0Tue, 19 Feb 2008 22:49:33 +0100\0" + "To\0Jeff Dike <jdike@addtoit.com>" + " kernel-janitors@vger.kernel.org\0" + "Cc\0uml-devel <user-mode-linux-devel@lists.sourceforge.net>\0" "\00:1\0" "b\0" "Hi,\n" @@ -22,11 +24,21 @@ " \t * by one word. Thanks to Lynn Kerby for the fix and James McMechan\n" " \t * for the original diagnosis.\n" " \t */\n" - "-\tif(*cow_offset = ((bitmap_len + sizeof(unsigned long) - 1) /\n" + "-\tif(*cow_offset == ((bitmap_len + sizeof(unsigned long) - 1) /\n" "-\t\t\t sizeof(unsigned long) - 1))\n" - "+\tif(*cow_offset = (DIV_ROUND_UP(bitmap_len, sizeof(unsigned long)) - 1))\n" + "+\tif(*cow_offset == (DIV_ROUND_UP(bitmap_len, sizeof(unsigned long)) - 1))\n" " \t\t(*cow_offset)--;\n" " \n" - " \tbitmap_words[0] = bitmap[*cow_offset];" + " \tbitmap_words[0] = bitmap[*cow_offset];\n" + "\n" + "\n" + "-------------------------------------------------------------------------\n" + "This SF.net email is sponsored by: Microsoft\n" + "Defy all challenges. Microsoft(R) Visual Studio 2008.\n" + "http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/\n" + "_______________________________________________\n" + "User-mode-linux-devel mailing list\n" + "User-mode-linux-devel@lists.sourceforge.net\n" + https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel -86d7d4846ae77baed0c7a37e058ac2d55ce65280c0644ecca1a0a845ac84f2ae +80d45d292b6a910c9f2a905b7760040211edb295e61480c66f7c63fcfa3abfce
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.