package/i2c-tools: add upstream post-4.2 i2ctransfer fix
authorPeter Korsgaard <peter@korsgaard.com>
Sat, 10 Apr 2021 08:12:52 +0000 (10:12 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 11 Apr 2021 09:36:55 +0000 (11:36 +0200)
commit535c65594c852132ad9f0d48ef4ed0d81389c5d0
treed84a2d019b070d1696d4ba6d58489bec75a5277c
parent7aee27c2b9f4da87b50d8b330d086c695d900147
package/i2c-tools: add upstream post-4.2 i2ctransfer fix

i2c-tools 4.2 contained an invalid check, leading to verbose false-positive
warning messages when the variable length ({r,w}?) option is used:

https://www.spinics.net/lists/linux-i2c/msg50032.html
https://www.spinics.net/lists/linux-i2c/msg50253.html

Unfortunately upstream does not make bugfix releases, instead opting to list
such bugfixes on the wiki:

https://i2c.wiki.kernel.org/index.php/I2C_Tools

So add the patch here.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Acked-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/i2c-tools/0001-Revert-tools-i2ctransfer-add-check-for-returned-leng.patch [new file with mode: 0644]