Skip to content

i2cset changes

Guenter Roeck linux-i2c 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 of 6 patches 1 replyIn review
  2. v26 patches 9 repliesSuperseded

Changes in v3 from the cover letter

- For block commands, check for number of arguments only after checking if pec is supported.
- Report "Too many arguments" instead of "Bad number of arguments".
- Committed blank replacement patch separately
- Check valid range for data value mask (patch #6)

3 of 6 patches are in this archive. The cover letter announces 6.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/6i2cset: Check number of arguments for block data writestools/i2cset.c+5 -10 replies
4/6i2cset: Ensure that there is no junk after the command/mode parameterCHANGES tools/i2cset.c+4 -00 replies
6/6i2cset: Check range for data value masktools/i2cset.c+5 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/6] i2cset changes

The following series of patches removes the obsolete means to specify the value mask, improves parameter error detection for the i2cset command, and cleans up the code a bit.

Note: Patch revision in headline was updated only if the individual patch is either new or was changed.

v2:
- Split single patch into multiple individual patches
- Included code review feedback

v3:
- For block commands, check for number of arguments only after checking if pec is supported.
- Report "Too many arguments" instead of "Bad number of arguments".
- Committed blank replacement patch separately
- Check valid range for data value mask (patch #6)