diff for duplicates of <20160414093407.GE16549@mwanda> diff --git a/a/1.txt b/N1/1.txt index 5520a3e..ff57bd9 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -13,7 +13,7 @@ index 3a7e96e..ff0c275 100644 ret = lp3972_i2c_read(lp3972->i2c, reg, 1, &tmp); - tmp = (tmp & ~mask) | val; - if (ret = 0) { + if (ret == 0) { + tmp = (tmp & ~mask) | val; ret = lp3972_i2c_write(lp3972->i2c, reg, 1, &tmp); dev_dbg(lp3972->dev, "reg write 0x%02x -> 0x%02x\n", (int)reg, diff --git a/a/content_digest b/N1/content_digest index c16308a..c97018b 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0[patch] regulator: lp3972: Silence uninitialized variable warning\0" - "Date\0Thu, 14 Apr 2016 09:34:07 +0000\0" + "Date\0Thu, 14 Apr 2016 12:34:07 +0300\0" "To\0Liam Girdwood <lgirdwood@gmail.com>\0" "Cc\0Mark Brown <broonie@kernel.org>" linux-kernel@vger.kernel.org @@ -22,10 +22,10 @@ " \n" " \tret = lp3972_i2c_read(lp3972->i2c, reg, 1, &tmp);\n" "-\ttmp = (tmp & ~mask) | val;\n" - " \tif (ret = 0) {\n" + " \tif (ret == 0) {\n" "+\t\ttmp = (tmp & ~mask) | val;\n" " \t\tret = lp3972_i2c_write(lp3972->i2c, reg, 1, &tmp);\n" " \t\tdev_dbg(lp3972->dev, \"reg write 0x%02x -> 0x%02x\\n\", (int)reg,\n" " \t\t\t(unsigned)val & 0xff);" -111074bbab71d96faf61719c23cbc2c8d1c8c7e106c51d41abf8355fbf76258f +794d5230c60aa7348bb24889999de5e64a6d67533e417435059bccb7c9d82956
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.