Re: [PATCH 1/2] staging/gdm72xx: usb_boot: replace firmware upgrade API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux