summaryrefslogtreecommitdiff
path: root/io_uring
diff options
context:
space:
mode:
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>2023-09-29 00:06:03 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-10-02 15:10:47 +0300
commit2ae61a2562c0d1720545b0845829a65fb6a9c2c6 (patch)
treedafeec12fac141e0b352280f202cf3eff151eb84 /io_uring
parent7ab8716713c931ac79988f2592e1cf8b2e4fec1b (diff)
downloadlinux-2ae61a2562c0d1720545b0845829a65fb6a9c2c6.tar.xz
usb: chipidea: Simplify Tegra DMA alignment code
The USB host on Tegra3 works with 32-bit alignment. Previous code tried to align the buffer, but it did align the wrapper struct instead, so the buffer was at a constant offset of 8 bytes (two pointers) from expected alignment. Since kmalloc() guarantees at least 8-byte alignment already, the alignment-extending is removed. Fixes: fc53d5279094 ("usb: chipidea: tegra: Support host mode") Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> Link: https://lore.kernel.org/r/a0d917d492b1f91ee0019e68b8e8bca9c585393f.1695934946.git.mirq-linux@rere.qmqm.pl Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'io_uring')
0 files changed, 0 insertions, 0 deletions