diff options
| author | Cornelia Huck <[email protected]> | 2016-03-01 12:44:53 +0000 |
|---|---|---|
| committer | Michael S. Tsirkin <[email protected]> | 2016-03-02 16:08:59 +0000 |
| commit | c235082b50f6dd81436b82fd73ffbdeede4ec2e4 (patch) | |
| tree | 192e331d7ffe35adaa63755e58c00dfe727a74bf /net/switchdev/switchdev.c | |
| parent | virtio/s390: use dev_to_virtio (diff) | |
| download | kernel-c235082b50f6dd81436b82fd73ffbdeede4ec2e4.tar.gz kernel-c235082b50f6dd81436b82fd73ffbdeede4ec2e4.zip | |
virtio/s390: size of SET_IND payload
SET_IND takes as a payload the _address_ of the indicators, meaning
that we have one of the rare cases where kmalloc(sizeof(&...)) is
actually correct. Let's clarify that with a comment.
The count for the ccw, however, was only correct because the
indicators are 64 bit. Let's use the correct value.
Reported-by: Martin Schwidefsky <[email protected]>
Reviewed-by: Halil Pasic <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Signed-off-by: Cornelia Huck <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
