Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'edac_urgent_for_v5.17_rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras

Pull EDAC fix from Borislav Petkov:
"Fix a long-standing struct alignment bug in the EDAC struct allocation
code"

* tag 'edac_urgent_for_v5.17_rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras:
EDAC: Fix calculation of returned address and next offset in edac_align_ptr()

+1 -1
+1 -1
drivers/edac/edac_mc.c
··· 215 215 else 216 216 return (char *)ptr; 217 217 218 - r = (unsigned long)p % align; 218 + r = (unsigned long)ptr % align; 219 219 220 220 if (r == 0) 221 221 return (char *)ptr;