diff for duplicates of <3e7bf686-963e-e668-0af9-ddd3e2196d58@pp.inet.fi> diff --git a/a/1.txt b/N1/1.txt index e3cc1d4..6e54068 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -76,11 +76,11 @@ depending on timeout). >> >>> + >>> + timeout_looping = (call_count-- > 0) && ->>> + (ret = -ETIMEDOUT); +>>> + (ret == -ETIMEDOUT); >>> + } while (timeout_looping); >> Delete the "timeout_looping" variable. >> ->> } while (ret = -ETIMEDOUT && retry-- > 0); +>> } while (ret == -ETIMEDOUT && retry-- > 0); >> >> Have you tested with just one retry? diff --git a/a/content_digest b/N1/content_digest index 07e35b5..3b833a7 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -3,7 +3,7 @@ "ref\014bdd24e-1e69-60b4-f5f6-2def804710c1@pp.inet.fi\0" "From\0Lauri Jakku <lauri.jakku@pp.inet.fi>\0" "Subject\0Re: [PATCH v6] USB: HID: random timeout failures tackle try.\0" - "Date\0Thu, 06 Feb 2020 14:26:32 +0000\0" + "Date\0Thu, 6 Feb 2020 16:26:32 +0200\0" "To\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Cc\0kernel-janitors@vger.kernel.org" Linux USB Mailing List <linux-usb@vger.kernel.org> @@ -88,11 +88,11 @@ ">>\n" ">>> +\n" ">>> +\t\ttimeout_looping =\t(call_count-- > 0) &&\n" - ">>> +\t\t\t\t\t(ret = -ETIMEDOUT);\n" + ">>> +\t\t\t\t\t(ret == -ETIMEDOUT);\n" ">>> +\t} while (timeout_looping);\n" ">> Delete the \"timeout_looping\" variable.\n" ">>\n" - ">> \t} while (ret = -ETIMEDOUT && retry-- > 0);\n" + ">> \t} while (ret == -ETIMEDOUT && retry-- > 0);\n" ">>\n" ">> Have you tested with just one retry?\n" "\n" @@ -113,4 +113,4 @@ "Br,\n" Lauri J. -4b7cef2e18d048a302b605fef7edba0030adba2ef1a5fa40e9067fd6457d77a1 +4de4dc8439c0302b5123e28f258cfba3ff2e9c8e7e0eec322174b9c2afe02e70
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.