aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/virtio
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2017-05-20 13:48:44 +0200
committerMichael S. Tsirkin <mst@redhat.com>2018-01-31 01:47:33 +0200
commit473f0b15a4c97d398387965b7eb56939543d6091 (patch)
tree43b2b358a90a7ede715b440031389b289e806497 /drivers/virtio
parentvirtio_balloon: include disk/file caches memory statistics (diff)
downloadlinux-dev-473f0b15a4c97d398387965b7eb56939543d6091.tar.xz
linux-dev-473f0b15a4c97d398387965b7eb56939543d6091.zip
vhost/scsi: Improve a size determination in four functions
Replace the specification of four data structures by pointer dereferences as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style convention. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/virtio')
0 files changed, 0 insertions, 0 deletions