Ley Foon Tan
bf068c7643
arm: socfpga: mailbox: Fix off-by-one error on command length checking
...
A mailbox command contains 1-u32 header + arguments. The "len" variable
only contains the length of the arguments, but not the 1-u32 header.
Include the length of header when checking the ring buffer space to
prevent off-by-one error.
Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
Signed-off-by: Chee Hong Ang <chee.hong.ang@intel.com>
2019-04-25 00:00:49 +02:00
..
2019-04-17 22:20:17 +02:00
2018-08-24 12:05:20 +02:00
2018-08-24 12:05:20 +02:00
2018-05-07 09:34:12 -04:00
2018-05-18 10:30:47 +02:00
2018-08-13 22:35:42 +02:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2019-04-25 00:00:49 +02:00
2019-04-25 00:00:49 +02:00
2018-08-24 12:05:20 +02:00
2018-12-20 17:12:25 +01:00
2019-04-17 22:20:17 +02:00
2018-12-20 17:12:25 +01:00
2019-03-09 17:59:13 +01:00
2018-07-12 09:22:11 +02:00
2018-05-07 09:34:12 -04:00
2018-05-10 20:38:35 -04:00
2018-08-13 22:35:42 +02:00
2018-05-18 10:30:46 +02:00
2019-04-17 22:20:17 +02:00
2018-05-18 10:30:47 +02:00
2018-05-07 09:34:12 -04:00
2019-03-09 17:59:13 +01:00
2019-04-17 22:20:17 +02:00
2019-04-17 22:20:17 +02:00
2018-05-07 09:34:12 -04:00
2018-05-18 10:30:48 +02:00
2018-07-12 09:22:12 +02:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-18 10:30:48 +02:00
2018-05-07 09:34:12 -04:00
2018-05-18 10:30:47 +02:00
2018-05-07 09:34:12 -04:00
2018-11-29 12:45:15 +01:00