On Wed, Nov 17, 2010 at 09:29:22AM +0800, Sheng Yang wrote:
> > > +                 adev->msix_mask_bitmap);
> > > + memcpy(val, &entry[addr % PCI_MSIX_ENTRY_SIZE / sizeof *entry], len);
> > 
> > Division by zero?
> 
> Not quite understand. You mean sizeof *entry or PCI_MSIX_ENTRY_SIZE? Both of 
> them 
> should be positive integer I think... Maybe I should use sizeof u32 here?

You're right, nevermind.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to