Files
linux/drivers/mfd
Heiko Stuebner b4881070a0 mfd: qnap-mcu: Calculate the checksum on the actual number of bytes received
In the case of an error message, the number of received bytes can be
less than originally expected but still contain a valid message.

If the transfer itself ended in an error we would exit earlier already.

So calculate the checksum on the number of received bytes and not the
number of expected bytes.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patch.msgid.link/20251113165218.449616-2-heiko@sntech.de
Signed-off-by: Lee Jones <lee@kernel.org>
2025-11-20 10:14:06 +00:00
..
2025-10-01 10:29:00 +01:00
2023-11-01 10:02:13 +00:00
2025-09-16 15:24:48 +01:00
2024-05-10 15:39:18 +01:00
2024-05-10 15:39:18 +01:00
2025-05-23 08:48:44 +01:00
2025-05-16 21:06:10 +02:00