[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <bc1b1099-3365-db6a-5864-0365235f28c3@nvidia.com>
Date: Sat, 4 Dec 2021 08:01:35 +0000
From: Jon Hunter <jonathanh@...dia.com>
To: Thierry Reding <thierry.reding@...il.com>, cgel.zte@...il.com
Cc: arnd@...db.de, lv.ruyi@....com.cn, linux-tegra@...r.kernel.org,
linux-kernel@...r.kernel.org, Zeal Robot <zealci@....com.cn>
Subject: Re: [PATCH V1] firmware: tegra: fix error application of sizeof to
pointer
Hi Thierry,
On 18/10/2021 15:06, Thierry Reding wrote:
> On Sat, Oct 09, 2021 at 08:59:00AM +0000, cgel.zte@...il.com wrote:
>> From: Lv Ruyi <lv.ruyi@....com.cn>
>>
>> Application of sizeof to pointer yields the number of bytes of the pointer,
>> but it should use the length of buffer in the code.
>>
>> Reported-by: Zeal Robot <zealci@....com.cn>
>> Signed-off-by: Lv Ruyi <lv.ruyi@....com.cn>
>> ---
>> drivers/firmware/tegra/bpmp-debugfs.c | 5 +++--
>> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> Applied, thanks.
We need to apply this as a fix for v5.16. I am still seeing a failure
for reading the BPMP debugfs on v5.16-rc3.
Jon
--
nvpublic
Powered by blists - more mailing lists