diff for duplicates of <20160413064155.GD8092@mwanda> diff --git a/a/1.txt b/N1/1.txt index 54b41e2..0cd62af 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -8,7 +8,7 @@ index c4cb15a..f101a49 100644 --- a/drivers/mtd/ubi/debug.c +++ b/drivers/mtd/ubi/debug.c @@ -352,7 +352,8 @@ static ssize_t dfs_file_write(struct file *file, const char __user *user_buf, - } else if (dent = d->dfs_emulate_power_cut) { + } else if (dent == d->dfs_emulate_power_cut) { if (kstrtoint(buf, 0, &val) != 0) count = -EINVAL; - d->emulate_power_cut = val; diff --git a/a/content_digest b/N1/content_digest index 4cd44da..26f4807 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0[patch] UBI: silence an unintialized variable warning\0" - "Date\0Wed, 13 Apr 2016 06:41:55 +0000\0" + "Date\0Wed, 13 Apr 2016 09:41:55 +0300\0" "To\0Artem Bityutskiy <dedekind1@gmail.com>\0" "Cc\0Richard Weinberger <richard@nod.at>" David Woodhouse <dwmw2@infradead.org> @@ -19,7 +19,7 @@ "--- a/drivers/mtd/ubi/debug.c\n" "+++ b/drivers/mtd/ubi/debug.c\n" "@@ -352,7 +352,8 @@ static ssize_t dfs_file_write(struct file *file, const char __user *user_buf,\n" - " \t} else if (dent = d->dfs_emulate_power_cut) {\n" + " \t} else if (dent == d->dfs_emulate_power_cut) {\n" " \t\tif (kstrtoint(buf, 0, &val) != 0)\n" " \t\t\tcount = -EINVAL;\n" "-\t\td->emulate_power_cut = val;\n" @@ -28,4 +28,4 @@ " \t\tgoto out;\n" " \t}" -58ad54255bee7690d7d5f860431b21dc962c95f44cc1dbc4a500ac09437e354c +672f1547e463fe63e3c6556315e57530239da39cb4603ab5f62578f16ef8ea95
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.