diff options
author | Eric Farman <farman@linux.ibm.com> | 2019-06-18 22:23:50 +0200 |
---|---|---|
committer | Cornelia Huck <cohuck@redhat.com> | 2019-06-21 14:12:45 +0200 |
commit | ded563f31d0eb4de0bcb101b755cdf6f4ed805e4 (patch) | |
tree | d77b09c8f75f602fed50ba1f61efb6200bdfb509 /block/blk-stat.c | |
parent | 6246590230e9c1225d2ce8d0160376b4d5511281 (diff) |
vfio-ccw: Copy CCW data outside length calculation
It doesn't make much sense to "hide" the copy to the channel_program
struct inside a routine that calculates the length of the chain.
Let's move it to the calling routine, which will later copy from
channel_program to the memory it allocated itself.
Signed-off-by: Eric Farman <farman@linux.ibm.com>
Message-Id: <20190618202352.39702-4-farman@linux.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Farhan Ali <alifm@linux.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'block/blk-stat.c')
0 files changed, 0 insertions, 0 deletions