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 /kernel/seccomp.c | |
parent | vfio-ccw: Skip second copy of guest cp to host (diff) | |
download | linux-dev-ded563f31d0eb4de0bcb101b755cdf6f4ed805e4.tar.xz linux-dev-ded563f31d0eb4de0bcb101b755cdf6f4ed805e4.zip |
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 'kernel/seccomp.c')
0 files changed, 0 insertions, 0 deletions