commit | 23e258e1a871c0c0cd91c294f7e66ccac74ef243 | [log] [tgz] |
---|---|---|
author | Alex Williamson <alex.williamson@hp.com> | Fri May 01 17:27:56 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri May 01 21:26:36 2009 -0700 |
tree | 40c63315433e8e6a8a04e9d36d79680e25ea5f63 | |
parent | 1363d9b135270662852ed2e6629fb79a36de5400 [diff] |
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>