Alexander Wilhelm
e4cf6087ca
net: qrtr: fix endian handling of confirm_rx field
...
Convert confirm_rx to little endian when enqueueing and convert it back on
receive. This fixes control flow on big endian hosts, little endian is
unaffected.
On transmit, store confirm_rx as __le32 using cpu_to_le32(). On receive,
apply le32_to_cpu() before using the value. !! ensures the value is 0 or 1
in native endianness, so the conversion isn’t strictly required here, but
it is kept for consistency and clarity.
Reviewed-by: Manivannan Sadhasivam <mani@kernel.org >
Signed-off-by: Alexander Wilhelm <alexander.wilhelm@westermo.com >
Reviewed-by: Simon Horman <horms@kernel.org >
Signed-off-by: David S. Miller <davem@davemloft.net >
2026-03-27 12:10:15 +00:00
..
2025-07-10 15:27:32 -07:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-02-21 17:09:51 -08:00
2026-03-19 14:16:00 -07:00
2026-02-21 17:09:51 -08:00
2026-03-18 17:41:00 -07:00
2026-03-25 15:32:32 -04:00
2026-02-21 17:09:51 -08:00
2026-03-19 14:16:00 -07:00
2026-02-21 17:09:51 -08:00
2026-03-19 17:16:02 +01:00
2026-03-11 10:18:56 +01:00
2026-03-26 12:09:57 -07:00
2026-02-21 17:09:51 -08:00
2026-03-14 13:08:50 -07:00
2026-03-09 18:32:45 -07:00
2026-02-21 17:09:51 -08:00
2026-03-16 19:29:45 -07:00
2026-03-24 20:14:29 -07:00
2026-02-21 01:02:28 -08:00
2026-02-27 17:24:58 -08:00
2026-03-02 18:17:17 -08:00
2026-03-26 20:11:53 -07:00
2026-03-26 18:45:29 -07:00
2026-02-21 17:09:51 -08:00
2026-02-23 17:26:55 -08:00
2026-03-24 15:16:28 +01:00
2026-03-19 11:00:04 +01:00
2026-02-21 01:02:28 -08:00
2026-02-21 01:02:28 -08:00
2026-03-26 18:17:14 -07:00
2026-03-16 19:29:45 -07:00
2026-03-26 18:47:29 -07:00
2026-03-19 14:16:00 -07:00
2026-03-19 14:16:00 -07:00
2026-03-06 17:34:48 -08:00
2026-03-26 12:09:57 -07:00
2026-02-21 17:09:51 -08:00
2026-03-12 19:29:01 -07:00
2026-02-21 17:09:51 -08:00
2026-03-19 16:56:18 -07:00
2026-03-20 18:37:31 -07:00
2026-03-23 17:07:19 -07:00
2026-03-19 14:16:00 -07:00
2026-02-21 01:02:28 -08:00
2026-03-04 16:51:10 -08:00
2026-03-27 12:10:15 +00:00
2026-03-05 12:11:05 -08:00
2026-02-21 17:09:51 -08:00
2026-03-12 19:23:59 -07:00
2026-03-13 18:57:44 -07:00
2026-03-19 14:16:00 -07:00
2026-03-02 18:17:17 -08:00
2026-03-19 13:47:15 +01:00
2026-03-20 18:59:30 -07:00
2025-11-13 12:35:38 -08:00
2026-03-18 14:27:11 -07:00
2026-03-19 13:14:00 +01:00
2026-03-11 18:56:28 -07:00
2026-03-26 12:09:57 -07:00
2026-03-19 14:16:00 -07:00
2026-03-24 13:16:58 +01:00
2026-03-26 18:17:14 -07:00
2026-02-21 01:02:28 -08:00
2026-03-16 19:28:21 -07:00
2026-03-26 12:09:57 -07:00
2025-11-26 13:45:23 -07:00
2025-10-17 16:29:26 -07:00
2025-09-18 12:32:06 +02:00
2026-03-11 20:38:00 -07:00