aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorCornelia Huck <[email protected]>2016-03-01 12:44:53 +0000
committerMichael S. Tsirkin <[email protected]>2016-03-02 16:08:59 +0000
commitc235082b50f6dd81436b82fd73ffbdeede4ec2e4 (patch)
tree192e331d7ffe35adaa63755e58c00dfe727a74bf /net/switchdev/switchdev.c
parentvirtio/s390: use dev_to_virtio (diff)
downloadkernel-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