[PATCH v1] nvmem: bsec: Fix incorrect size calculation for PTA read

Sascha Hauer s.hauer at pengutronix.de
Wed Jan 8 06:35:28 PST 2025


On Tue, 07 Jan 2025 12:30:47 +0100, Oleksij Rempel wrote:
> Correct the size parameter in stm32_bsec_pta_read() to use sizeof(*val)
> instead of sizeof(val). The previous implementation incorrectly
> calculated the size of the pointer instead of the pointed-to value,
> potentially causing incorrect behavior during the read operation.
> 
> 

Applied, thanks!

[1/1] nvmem: bsec: Fix incorrect size calculation for PTA read
      https://git.pengutronix.de/cgit/barebox/commit/?id=06e9050f42fd (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list