1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-10-03 08:21:30 +02:00
Files
u-boot-megous/arch/arm/mach-socfpga
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
..
2018-08-24 12:05:20 +02:00
2019-03-09 17:59:13 +01:00