[PATCH 0/4] edac_align_ptr() bug fix and refactoring
From: Eliav Farber
Date: Thu Jan 13 2022 - 05:06:45 EST
Fix address alignment and return value casting, modify data types
and refactor the flow to be more clear and readable.
Eliav Farber (4):
EDAC: Fix calculation of returned address and next offset in
edac_align_ptr()
EDAC: Remove unnecessary cast to char* in edac_align_ptr() function
EDAC: Refactor edac_align_ptr() to use u8/u16/u32/u64 data types
EDAC: Refactor edac_align_ptr() flow
drivers/edac/edac_mc.c | 41 ++++++++++++++++++++---------------------
1 file changed, 20 insertions(+), 21 deletions(-)
--
2.32.0