summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@hp.com>2009-05-01 17:27:56 +0000
committerDavid S. Miller <davem@davemloft.net>2009-05-01 21:26:36 -0700
commit23e258e1a871c0c0cd91c294f7e66ccac74ef243 (patch)
tree40c63315433e8e6a8a04e9d36d79680e25ea5f63 /kernel
parent1363d9b135270662852ed2e6629fb79a36de5400 (diff)
downloadblackbird-op-linux-23e258e1a871c0c0cd91c294f7e66ccac74ef243.tar.gz
blackbird-op-linux-23e258e1a871c0c0cd91c294f7e66ccac74ef243.zip
virtio_net: Cleanup command queue scatterlist usage
We were avoiding calling sg_init* on scatterlists passed into virtnet_send_command to prevent extraneous end markers. This caused build warnings for uninitialized variables. Cleanup the code to create proper scatterlists. Signed-off-by: Alex Williamson <alex.williamson@hp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud