[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240123-fix_sparse_errors_checksum_tests-v2-0-b306b6ce7da5@rivosinc.com>
Date: Tue, 23 Jan 2024 13:58:04 -0800
From: Charlie Jenkins <charlie@...osinc.com>
To: Guenter Roeck <linux@...ck-us.net>,
David Laight <David.Laight@...lab.com>, Palmer Dabbelt <palmer@...belt.com>
Cc: linux-kernel@...r.kernel.org, Charlie Jenkins <charlie@...osinc.com>,
kernel test robot <lkp@...el.com>
Subject: [PATCH v2 0/2] lib: checksum: Fix issues with checksum tests
The ip_fast_csum and csum_ipv6_magic tests did not have the data
types properly casted, and improperly misaligned data.
Signed-off-by: Charlie Jenkins <charlie@...osinc.com>
---
Changes in v2:
- Add additional patch to fix alignment issues
- Link to v1: https://lore.kernel.org/r/20240119-fix_sparse_errors_checksum_tests-v1-1-2d3df86d8d78@rivosinc.com
---
Charlie Jenkins (2):
lib: checksum: Fix type casting in checksum kunits
lib: checksum: Use aligned accesses for ip_fast_csum and csum_ipv6_magic tests
lib/checksum_kunit.c | 460 +++++++++++++++++++++++----------------------------
1 file changed, 203 insertions(+), 257 deletions(-)
---
base-commit: 6613476e225e090cc9aad49be7fa504e290dd33d
change-id: 20240119-fix_sparse_errors_checksum_tests-26b86b34d784
--
- Charlie
Powered by blists - more mailing lists