ChangeSet 1.1500.8.3, 2004/01/29 16:04:34-08:00, akpm@osdl.org [PATCH] USB: gcc-3.5: drivers/usb/misc/uss720.c drivers/usb/misc/uss720.c: In function `parport_uss720_epp_read_data': drivers/usb/misc/uss720.c:336: error: invalid lvalue in increment drivers/usb/misc/uss720.c: In function `parport_uss720_epp_read_addr': drivers/usb/misc/uss720.c:395: error: invalid lvalue in increment drivers/usb/misc/uss720.c: In function `parport_uss720_epp_write_addr': drivers/usb/misc/uss720.c:415: error: invalid lvalue in increment drivers/usb/misc/uss720.c: In function `parport_uss720_ecp_write_addr': drivers/usb/misc/uss720.c:472: error: invalid lvalue in increment drivers/usb/misc/uss720.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff -Nru a/drivers/usb/misc/uss720.c b/drivers/usb/misc/uss720.c --- a/drivers/usb/misc/uss720.c Mon Feb 9 14:42:46 2004 +++ b/drivers/usb/misc/uss720.c Mon Feb 9 14:42:46 2004 @@ -333,7 +333,7 @@ for (; got < length; got++) { if (get_1284_register(pp, 4, (char *)buf)) break; - ((char*)buf)++; + buf++; if (priv->reg[0] & 0x01) { clear_epp_timeout(pp); break; @@ -392,7 +392,7 @@ for (; got < length; got++) { if (get_1284_register(pp, 3, (char *)buf)) break; - ((char*)buf)++; + buf++; if (priv->reg[0] & 0x01) { clear_epp_timeout(pp); break; @@ -412,7 +412,7 @@ for (; written < length; written++) { if (set_1284_register(pp, 3, *(char *)buf)) break; - ((char*)buf)++; + buf++; if (get_1284_register(pp, 1, NULL)) break; if (priv->reg[0] & 0x01) { @@ -469,7 +469,7 @@ for (; written < len; written++) { if (set_1284_register(pp, 5, *(char *)buffer)) break; - ((char*)buffer)++; + buffer++; } change_mode(pp, ECR_PS2); return written;