mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 06:31:52 +00:00
c83ccdc958
Aligning to the L1 cache does not guarantee the same alignment as
kmallocing an object [1]. Furthermore, in some platforms, that
alignment is not sufficient for DMA safety (in case someone wants
to have a DMA safe buffer in privdata) [2].
Sometime ago, we had the same fixes in IIO.
[1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/base/devres.c#n35
[2]: https://lore.kernel.org/linux-iio/20220508175712.647246-2-jic23@kernel.org/
Fixes:
|
||
---|---|---|
.. | ||
104-quad-8.c | ||
counter-chrdev.c | ||
counter-chrdev.h | ||
counter-core.c | ||
counter-sysfs.c | ||
counter-sysfs.h | ||
ftm-quaddec.c | ||
i8254.c | ||
intel-qep.c | ||
interrupt-cnt.c | ||
Kconfig | ||
Makefile | ||
microchip-tcb-capture.c | ||
rz-mtu3-cnt.c | ||
stm32-lptimer-cnt.c | ||
stm32-timer-cnt.c | ||
ti-ecap-capture.c | ||
ti-eqep.c |