diff for duplicates of <20190209090350.GD4865@kadam> diff --git a/a/1.txt b/N1/1.txt index 7a39237..4e5b537 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -16,7 +16,7 @@ index e03a28a67146..375df5060ed5 100644 } - if (!tries) -+ if (tries = -1) ++ if (tries == -1) return -ETIMEDOUT; ret = sps30_do_cmd(state, SPS30_READ_DATA, tmp, sizeof(int) * size); diff --git a/a/content_digest b/N1/content_digest index 8336a01..7cfcc13 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0[PATCH] iio: chemical: sps30: fix a loop timeout test\0" - "Date\0Sat, 09 Feb 2019 09:03:52 +0000\0" + "Date\0Sat, 9 Feb 2019 12:03:52 +0300\0" "To\0Jonathan Cameron <jic23@kernel.org>" " Tomasz Duszynski <tduszyns@gmail.com>\0" "Cc\0Hartmut Knaack <knaack.h@gmx.de>" @@ -28,11 +28,11 @@ " \t}\n" " \n" "-\tif (!tries)\n" - "+\tif (tries = -1)\n" + "+\tif (tries == -1)\n" " \t\treturn -ETIMEDOUT;\n" " \n" " \tret = sps30_do_cmd(state, SPS30_READ_DATA, tmp, sizeof(int) * size);\n" "-- \n" 2.17.1 -b73bf0e296f2765211bd7a24eb5cc650910ab9a7fd1e4c36250cf031b3dcf6b6 +8e69e025db1890c873e77456774b0e09b50c14f4b20d1d8852771b1021836919
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.