summaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/io_sch.h
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 /drivers/s390/cio/io_sch.h
parentvfio/ccw: simplify CCW chain fetch routines (diff)
downloadlinux-4b946d65b8aa0071dbbc54b35b8502fa99c1ee22.tar.xz
linux-4b946d65b8aa0071dbbc54b35b8502fa99c1ee22.zip
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 'drivers/s390/cio/io_sch.h')
0 files changed, 0 insertions, 0 deletions