On Wed, Sep 12, 2012 at 02:49:17PM +0300, Dan Carpenter wrote:
> > -static int download_image(struct usb_device *usbdev, struct file *filp,
> > - loff_t *pos, u32 img_len, u32 magic_num)
> > +static int download_image(struct usb_device *usbdev,
> > + const struct firmware *firm,
> > + loff_t pos, u32 img_len, u32 magic_num)
> > {
> > struct dn_header h;
> > int ret = 0;
> > u32 size;
>
> be32 size;
I'm wrong. This is CPU endian and that's not how big endian
variables are declared anyway.
regards,
dan carpenter
_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel