lencopy = lencopy > remain ? remain : lencopy;
if((char*)startwrite + lencopy > (char*)outp + buf->vb.size) {
- em28xx_isocdbg("Overflow of %i bytes past buffer end (1)\n",
+ em28xx_isocdbg("Overflow of %zi bytes past buffer end (1)\n",
((char*)startwrite + lencopy) - ((char*)outp + buf->vb.size));
lencopy = remain = (char*)outp + buf->vb.size - (char*)startwrite;
}
BUG_ON(lencopy <= 0);
if((char*)startwrite + lencopy > (char*)outp + buf->vb.size) {
- em28xx_isocdbg("Overflow of %i bytes past buffer end (2)\n",
+ em28xx_isocdbg("Overflow of %zi bytes past buffer end (2)\n",
((char*)startwrite + lencopy) - ((char*)outp + buf->vb.size));
lencopy = remain = (char*)outp + buf->vb.size - (char*)startwrite;
}