summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorEric Farman <farman@linux.ibm.com>2020-10-22 16:54:32 +0200
committerHeiko Carstens <hca@linux.ibm.com>2023-01-09 14:34:07 +0100
commit4b946d65b8aa0071dbbc54b35b8502fa99c1ee22 (patch)
tree952ec21fdaffaac2c3ec123ba2ecb204b1d123dd /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parenta4c6040472ba638f2719f371fad92c83365f7332 (diff)
vfio/ccw: remove unnecessary malloc alignment
Everything about this allocation is harder than necessary, since the memory allocation is already aligned to our needs. Break them apart for readability, instead of doing the funky arithmetic. Of the structures that are involved, only ch_ccw needs the GFP_DMA flag, so the others can be allocated without it. Signed-off-by: Eric Farman <farman@linux.ibm.com> Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions