On 1/15/2016 12:34 PM, Yuanhan Liu wrote: > +void > +vtpci_write_dev_config(struct virtio_hw *hw, uint64_t offset, > + void *src, int length) > +{ > + hw->vtpci_ops->write_dev_cfg(hw, offset, src, length);
missed changing src to const. > +}
On 1/15/2016 12:34 PM, Yuanhan Liu wrote: > +void > +vtpci_write_dev_config(struct virtio_hw *hw, uint64_t offset, > + void *src, int length) > +{ > + hw->vtpci_ops->write_dev_cfg(hw, offset, src, length);
missed changing src to const. > +}