Re: isp1362-hcd doesn't build on ARM

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

 



On Mon, 11 Jan 2010, Mike Frysinger wrote:

> > -	dev_info(hcd->self.controller, "  INTL: %4d * (%3lu+8):  %4d @ $%04x\n",
> > +	dev_info(hcd->self.controller, "  INTL: %4d * (%3u+8):  %4d @ $%04x\n",
> >  		 ISP1362_INTL_BUFFERS, intl_blksize - PTD_HEADER_SIZE,
> >  		 intl_size, istl_size);
> > -	dev_info(hcd->self.controller, "  ATL : %4d * (%3lu+8):  %4d @ $%04x\n",
> > +	dev_info(hcd->self.controller, "  ATL : %4d * (%3u+8):  %4d @ $%04x\n",
> >  		 atl_buffers, atl_blksize - PTD_HEADER_SIZE,
> >  		 atl_size, istl_size + intl_size);
> 
> this merely shifts the warning around from some people to others, as my change 
> from %u to %lu did.  i'm pretty sure we want to use %zu here and not %lu or 
> %u.  there has been other posts on the list about this.

Questions about what format specifier to use can be answered easily 
enough by casting the argument value.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux