Searched hist:e7eaf91b0aad276b164277dd6d20cdf3ee1c77e6 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/s390/cio/ |
H A D | vfio_ccw_cp.c | diff e7eaf91b0aad276b164277dd6d20cdf3ee1c77e6 Thu Jun 06 15:28:29 CDT 2019 Eric Farman <farman@linux.ibm.com> vfio-ccw: Remove pfn_array_table
Now that both CCW codepaths build this nested array:
ccwchain->pfn_array_table[1]->pfn_array[#idaws/#pages]
We can collapse this into simply:
ccwchain->pfn_array[#idaws/#pages]
Let's do that, so that we don't have to continually navigate two nested arrays when the first array always has a count of one.
Signed-off-by: Eric Farman <farman@linux.ibm.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Message-Id: <20190606202831.44135-8-farman@linux.ibm.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
|