diff for duplicates of <20150225131514.GC19745@mwanda> diff --git a/a/1.txt b/N1/1.txt index 14bad96..8c8e660 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,4 +1,4 @@ -From the indenting we can see the curly braces were obviously intended. +>From the indenting we can see the curly braces were obviously intended. This is a static checker fix, but my guess is that we don't read enough bytes, because we don't calculate "t_len" correctly. @@ -11,8 +11,8 @@ index fc145d2..922a750 100644 +++ b/drivers/memstick/core/mspro_block.c @@ -758,7 +758,7 @@ static int mspro_block_complete_req(struct memstick_dev *card, int error) - if (error || (card->current_mrq.tpc = MSPRO_CMD_STOP)) { - if (msb->data_dir = READ) { + if (error || (card->current_mrq.tpc == MSPRO_CMD_STOP)) { + if (msb->data_dir == READ) { - for (cnt = 0; cnt < msb->current_seg; cnt++) + for (cnt = 0; cnt < msb->current_seg; cnt++) { t_len += msb->req_sg[cnt].length diff --git a/a/content_digest b/N1/content_digest index bb0181f..3903fc7 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,13 +1,13 @@ "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0[patch] memstick: mspro_block: add missing curly braces\0" - "Date\0Wed, 25 Feb 2015 13:15:14 +0000\0" + "Date\0Wed, 25 Feb 2015 16:15:14 +0300\0" "To\0Alex Dubov <oakad@yahoo.com>" " Andrew Morton <akpm@linux-foundation.org>\0" "Cc\0kernel-janitors@vger.kernel.org" " linux-kernel@vger.kernel.org\0" "\00:1\0" "b\0" - "From the indenting we can see the curly braces were obviously intended.\n" + ">From the indenting we can see the curly braces were obviously intended.\n" "This is a static checker fix, but my guess is that we don't read enough\n" "bytes, because we don't calculate \"t_len\" correctly.\n" "\n" @@ -20,8 +20,8 @@ "+++ b/drivers/memstick/core/mspro_block.c\n" "@@ -758,7 +758,7 @@ static int mspro_block_complete_req(struct memstick_dev *card, int error)\n" " \n" - " \t\tif (error || (card->current_mrq.tpc = MSPRO_CMD_STOP)) {\n" - " \t\t\tif (msb->data_dir = READ) {\n" + " \t\tif (error || (card->current_mrq.tpc == MSPRO_CMD_STOP)) {\n" + " \t\t\tif (msb->data_dir == READ) {\n" "-\t\t\t\tfor (cnt = 0; cnt < msb->current_seg; cnt++)\n" "+\t\t\t\tfor (cnt = 0; cnt < msb->current_seg; cnt++) {\n" " \t\t\t\t\tt_len += msb->req_sg[cnt].length\n" @@ -36,4 +36,4 @@ " \t\t} else\n" " \t\t\tt_len = blk_rq_bytes(msb->block_req);" -a5d98b6714d7dbb2c93bee08747b2fbd12fb904531e713a66d86b263e9390df7 +5bfb7a17509cce6cd10109f10e3ac68e4e534ee56ff5bddbf8932b2eaa8b1c59
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.