Wolfram Sang
597911287f
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 <wsa+renesas@sang-engineering.com>
Reviewed-by: Michael Shych <michaelsh@mellanox.com>
Tested-by: Michael Shych <michaelsh@mellanox.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
2020-07-04 08:20:38 +02:00
..
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:37 -07:00
2019-06-05 17:37:16 +02:00
2020-05-20 15:28:03 +02:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:37 -07:00
2019-06-05 17:37:10 +02:00
2020-04-30 16:11:41 +02:00
2020-03-24 22:36:59 +01:00
2019-03-25 15:21:17 +01:00
2020-04-30 16:12:33 +02:00
2020-05-05 16:37:21 +02:00
2020-05-20 15:27:45 +02:00
2019-03-24 22:41:51 +01:00
2020-05-05 16:37:21 +02:00
2019-05-30 11:26:37 -07:00
2020-04-18 23:42:14 +02:00
2020-03-24 22:36:59 +01:00
2020-05-20 15:27:45 +02:00
2020-04-18 23:42:14 +02:00
2020-04-26 10:00:29 +02:00
2020-04-15 18:25:39 +02:00
2019-02-08 22:18:51 +01:00
2020-04-18 23:42:14 +02:00
2019-07-15 21:10:39 -07:00
2020-01-31 09:01:25 +01:00
2020-04-15 12:09:09 +02:00
2020-03-21 19:53:08 +01:00
2020-06-23 21:24:33 +02:00
2020-06-23 21:24:33 +02:00
2020-05-30 23:02:22 +02:00
2020-06-23 21:24:33 +02:00
2020-07-04 08:17:53 +02:00
2020-05-30 23:02:22 +02:00
2020-04-15 12:09:09 +02:00
2020-03-24 22:36:59 +01:00
2019-06-05 17:37:10 +02:00
2020-05-22 17:08:19 +02:00
2020-07-04 08:17:53 +02:00
2019-05-30 11:26:37 -07:00
2020-04-15 12:09:09 +02:00
2020-06-11 12:32:14 +02:00
2020-06-26 00:25:05 +02:00
2020-03-10 12:31:55 +01:00
2020-02-07 12:54:13 -08:00
2020-04-15 12:09:09 +02:00
2019-05-30 11:26:37 -07:00
2020-05-29 12:55:47 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2020-06-07 20:45:24 +02:00
2020-04-18 23:42:14 +02:00
2020-04-18 23:42:14 +02:00
2020-03-24 22:36:59 +01:00
2020-01-15 20:31:27 +01:00
2019-07-15 21:10:39 -07:00
2019-05-30 11:26:41 -07:00
2019-08-01 14:48:55 +02:00
2020-04-15 12:09:09 +02:00
2019-06-05 17:36:38 +02:00
2020-04-18 23:42:14 +02:00
2020-04-18 23:42:14 +02:00
2020-07-04 08:20:38 +02:00
2018-01-15 19:19:55 +01:00
2020-05-20 15:25:55 +02:00
2020-03-24 22:36:59 +01:00
2020-04-15 12:09:09 +02:00
2020-03-24 22:36:59 +01:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:37 -07:00
2020-03-24 22:36:59 +01:00
2020-06-11 12:30:47 +02:00
2020-05-27 12:07:34 +02:00
2020-01-15 20:39:26 +01:00
2018-03-02 11:11:15 +01:00
2018-03-02 11:11:15 +01:00
2020-04-15 12:09:09 +02:00
2020-04-18 23:42:14 +02:00
2019-05-24 17:39:01 +02:00
2020-04-18 23:42:14 +02:00
2020-03-10 12:19:52 +01:00
2019-05-30 11:26:41 -07:00
2019-05-30 11:26:37 -07:00
2020-04-15 12:12:52 +02:00
2020-04-15 12:22:52 +02:00
2020-02-07 12:54:13 -08:00
2020-04-18 23:42:14 +02:00
2020-04-30 16:18:30 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:10 +02:00
2020-06-03 22:37:37 +02:00
2020-04-18 23:38:20 +02:00
2020-03-13 15:20:39 +01:00
2020-04-26 10:15:37 +02:00
2020-04-15 12:12:52 +02:00
2020-03-24 22:36:59 +01:00
2020-04-18 23:42:14 +02:00
2019-06-05 17:37:10 +02:00
2020-06-13 13:12:38 -07:00
2019-06-05 17:37:10 +02:00
2020-05-29 14:06:35 +02:00
2019-05-30 11:26:37 -07:00
2019-06-19 17:09:07 +02:00
2020-04-15 12:09:09 +02:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:37 -07:00
2020-04-18 23:42:14 +02:00
2020-04-02 15:54:13 -07:00
2020-04-26 09:46:39 +02:00
2019-08-14 14:56:54 +02:00
2020-04-26 09:46:39 +02:00
2020-04-30 16:07:14 +02:00
2020-04-15 12:09:09 +02:00
2020-04-18 23:42:14 +02:00
2020-04-18 23:42:14 +02:00
2020-01-15 20:39:41 +01:00
2019-05-30 11:29:52 -07:00
2020-05-12 22:47:52 +02:00
2020-03-24 22:36:59 +01:00
2020-01-06 15:40:43 +01:00
2020-04-18 23:42:14 +02:00
2020-04-18 23:42:14 +02:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:32 -07:00
2020-03-24 22:36:59 +01:00
2019-05-21 11:28:45 +02:00
2020-01-29 21:53:51 +01:00
2020-04-18 23:42:14 +02:00
2020-04-15 12:09:09 +02:00
2020-04-15 12:09:09 +02:00
2020-06-03 22:39:12 +02:00
2020-06-03 22:39:12 +02:00
2019-05-30 11:26:37 -07:00