From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Thu, 11 Apr 2019 11:19:05 +0200 Subject: [U-Boot] [PATCH] arm: socfpga: Fix mailbox command length checking In-Reply-To: References: <1554968374-24613-1-git-send-email-ley.foon.tan@intel.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 4/11/19 11:16 AM, Ley Foon Tan wrote: > On Thu, Apr 11, 2019 at 3:58 PM Marek Vasut wrote: >> >> On 4/11/19 9:39 AM, Ley Foon Tan wrote: >>> A mailbox command including header + arguments. >>> But, "len" only including length of arguments, it missed the length >>> of header in checking. >>> Includes length of header (1) when checking the space size. >> >> I think the commit message could use some improvement, maybe reword it >> so it's clear what you're fixing here. I guess it's some off-by-one error ? > Okay, will resend again. Thanks. The patch itself is fine. -- Best regards, Marek Vasut