Commit a672a656 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

[PATCH] USB printer driver: forward port 2.4 fix for misuse of types.

Thanks to Dave Jones for pointing this out.
parent 2a49c2e8
......@@ -610,7 +610,8 @@ static ssize_t usblp_write(struct file *file, const char *buffer, size_t count,
{
DECLARE_WAITQUEUE(wait, current);
struct usblp *usblp = file->private_data;
int timeout, err = 0, writecount = 0;
int timeout, err = 0;
size_t writecount = 0;
while (writecount < count) {
if (!usblp->wcomplete) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment