diff options
| author | Wolfram Sang <[email protected]> | 2020-06-28 11:52:44 +0000 |
|---|---|---|
| committer | Wolfram Sang <[email protected]> | 2020-07-04 06:20:38 +0000 |
| commit | 597911287fcd13c3a4b4aa3e0a52b33d431e0a8e (patch) | |
| tree | 70f04b578a42b89d8b860169cec92c804a13f30c /tools/perf/scripts/python/flamegraph.py | |
| parent | i2c: add Kconfig help text for slave mode (diff) | |
| download | kernel-597911287fcd13c3a4b4aa3e0a52b33d431e0a8e.tar.gz kernel-597911287fcd13c3a4b4aa3e0a52b33d431e0a8e.zip | |
i2c: mlxcpld: check correct size of maximum RECV_LEN packet
I2C_SMBUS_BLOCK_MAX defines already the maximum number as defined in the
SMBus 2.0 specs. I don't see a reason to add 1 here. Also, fix the errno
to what is suggested for this error.
Fixes: c9bfdc7c16cb ("i2c: mlxcpld: Add support for smbus block read transaction")
Signed-off-by: Wolfram Sang <[email protected]>
Reviewed-by: Michael Shych <[email protected]>
Tested-by: Michael Shych <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
