diff options
author | Dan Carpenter | 2018-04-06 10:37:17 +0200 |
---|---|---|
committer | Kalle Valo | 2018-04-24 19:24:32 +0200 |
commit | 350fcdb834576162ab55519ed86572c00ea786a7 (patch) | |
tree | 517224e9bd35cc7500d9fdca36e13a1e3b10a0db /drivers/mmc/host/sdhci-omap.c | |
parent | rsi: roaming enhancements (diff) | |
download | kernel-qcow2-linux-350fcdb834576162ab55519ed86572c00ea786a7.tar.gz kernel-qcow2-linux-350fcdb834576162ab55519ed86572c00ea786a7.tar.xz kernel-qcow2-linux-350fcdb834576162ab55519ed86572c00ea786a7.zip |
rsi: remove unecessary PTR_ALIGN()s
The issue here is that we allocate "data" and then set
"data = PTR_ALIGN(data, 8);" and then we free the aligned pointer
instead of the original pointer.
kmalloc() pointers are already ARCH_SLAB_MINALIGN aligned which is 8 or
more on everything except certain Xtensa variants. We decided that if
the Xtensa people ever notice a bug here then we'll tell them the bug is
on their side. ;)
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/mmc/host/sdhci-omap.c')
0 files changed, 0 insertions, 0 deletions