On Friday 30 January 2009 09:35:12 Alex Williamson wrote:
Hmm, this check duplicates the one in virtnet_send_command; after
all your patches, is it ever called with !VIRTIO_NET_F_CTRL_RX? Maybe it should be a BUG_ON in there?
Hmm, we can't do anything with this error. I'd be very tempted to define the API to say "this can't fail". Leave this code in as a sanity check, but have a comment to that effect?
Comment above/beside these two perhaps?
/* Supported if VIRTIO_NET_F_CTRL_RX */
Cheers,
Rusty.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html