public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] lib: checksum: Fix issues with checksum tests
@ 2024-01-23 21:58 Charlie Jenkins
  2024-01-23 21:58 ` [PATCH v2 1/2] lib: checksum: Fix type casting in checksum kunits Charlie Jenkins
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Charlie Jenkins @ 2024-01-23 21:58 UTC (permalink / raw)
  To: Guenter Roeck, David Laight, Palmer Dabbelt
  Cc: linux-kernel, Charlie Jenkins, kernel test robot

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@rivosinc.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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-01-24  0:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-23 21:58 [PATCH v2 0/2] lib: checksum: Fix issues with checksum tests Charlie Jenkins
2024-01-23 21:58 ` [PATCH v2 1/2] lib: checksum: Fix type casting in checksum kunits Charlie Jenkins
2024-01-23 21:58 ` [PATCH v2 2/2] lib: checksum: Use aligned accesses for ip_fast_csum and csum_ipv6_magic tests Charlie Jenkins
2024-01-23 23:22 ` [PATCH v2 0/2] lib: checksum: Fix issues with checksum tests Guenter Roeck
2024-01-24  0:23   ` Charlie Jenkins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox