diff for duplicates of <20100302145619.GG6567@parisc-linux.org> diff --git a/a/1.txt b/N1/1.txt index 39f90b8..19cf965 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -18,7 +18,7 @@ Here's a patch that should address everyone's concerns. ---- -From 88e1cb1368f3b204be5ba800c0b8b91482233c70 Mon Sep 17 00:00:00 2001 +>From 88e1cb1368f3b204be5ba800c0b8b91482233c70 Mon Sep 17 00:00:00 2001 From: Matthew Wilcox <matthew@wil.cx> Date: Tue, 2 Mar 2010 09:40:18 -0500 Subject: [PATCH] [SCSI] Fix multiple bugs in scsi_get_vpd_page() @@ -75,13 +75,13 @@ index 1c08f61..bc67a4e 100644 goto fail; /* If the user actually wanted this page, we can skip the rest */ - if (page = 0) + if (page == 0) - return -EINVAL; + return buf; - for (i = 0; i < min((int)buf[3], buf_len - 4); i++) + for (i = 0; i < buf[3]; i++) - if (buf[i + 4] = page) + if (buf[i + 4] == page) goto found; - - if (i < buf[3] && i > buf_len) @@ -204,7 +204,7 @@ index 1dd4d84..2a8e5ce 100644 rot = get_unaligned_be16(&buffer[4]); - if (rot = 1) + if (rot == 1) queue_flag_set_unlocked(QUEUE_FLAG_NONROT, sdkp->disk->queue); - out: diff --git a/a/content_digest b/N1/content_digest index 285dd70..e887970 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -4,7 +4,7 @@ "ref\0yq1fx4i26cc.fsf@sermon.lab.mkp.net\0" "From\0Matthew Wilcox <matthew@wil.cx>\0" "Subject\0Re: bug report: sd: off by one in sd_read_block_limits()\0" - "Date\0Tue, 02 Mar 2010 14:56:19 +0000\0" + "Date\0Tue, 2 Mar 2010 07:56:19 -0700\0" "To\0Martin K. Petersen <martin.petersen@oracle.com>\0" "Cc\0James E.J. Bottomley <James.Bottomley@suse.de>" Dan Carpenter <error27@gmail.com> @@ -32,7 +32,7 @@ "\n" "----\n" "\n" - "From 88e1cb1368f3b204be5ba800c0b8b91482233c70 Mon Sep 17 00:00:00 2001\n" + ">From 88e1cb1368f3b204be5ba800c0b8b91482233c70 Mon Sep 17 00:00:00 2001\n" "From: Matthew Wilcox <matthew@wil.cx>\n" "Date: Tue, 2 Mar 2010 09:40:18 -0500\n" "Subject: [PATCH] [SCSI] Fix multiple bugs in scsi_get_vpd_page()\n" @@ -89,13 +89,13 @@ " \t\tgoto fail;\n" " \n" " \t/* If the user actually wanted this page, we can skip the rest */\n" - " \tif (page = 0)\n" + " \tif (page == 0)\n" "-\t\treturn -EINVAL;\n" "+\t\treturn buf;\n" " \n" "-\tfor (i = 0; i < min((int)buf[3], buf_len - 4); i++)\n" "+\tfor (i = 0; i < buf[3]; i++)\n" - " \t\tif (buf[i + 4] = page)\n" + " \t\tif (buf[i + 4] == page)\n" " \t\t\tgoto found;\n" "-\n" "-\tif (i < buf[3] && i > buf_len)\n" @@ -218,7 +218,7 @@ " \n" " \trot = get_unaligned_be16(&buffer[4]);\n" " \n" - " \tif (rot = 1)\n" + " \tif (rot == 1)\n" " \t\tqueue_flag_set_unlocked(QUEUE_FLAG_NONROT, sdkp->disk->queue);\n" " \n" "- out:\n" @@ -275,4 +275,4 @@ "operating system, but compare it to ours. We can't possibly take such\n" "a retrograde step.\"" -556574164590f5e7353f03996555b8894d3c95ec42452223ee13a261117269a1 +c200fa14d46db8f3c27f00ed5ca096ecbe88f12eb87c44a8b0d333dd815507ed
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.