[RESEND PATCH v3 + one more 0/5] i2c-tools fixes

Bartosz Golaszewski bartekgola at gmail.com
Fri Jun 5 08:27:27 UTC 2015


This series fixes one major issue and two smaller bugs in i2cdetect and
reworks i2cdump_main().

v4:
- add a patch removing an unnecessary goto in i2cdetect

v3:
- drop the check for COMMON_BUFSIZE < block buffer size as it's highly
  unlikely, isn't it?

v2:
- added i2cdump code rework to the series
- fixed an unneeded indentation in i2cdetect

Bartosz Golaszewski (5):
  i2cdetect: don't die on addresses already in use by drivers
  i2cdetect: don't scan non-regular addresses without the '-a' option
  i2cdetect: add a check for (mode == DETECT_MODE_AUTO)
  i2cdump: code rework
  i2cdetect: use break instead of goto in list_i2c_busses_and_exit()

 miscutils/i2c_tools.c | 358 +++++++++++++++++++++++++++-----------------------
 1 file changed, 193 insertions(+), 165 deletions(-)

-- 
2.1.4



More information about the busybox mailing list