drivers/isdn/hysdn/hysdn_proclog.c: In function `hysdn_log_read': drivers/isdn/hysdn/hysdn_proclog.c:236: error: invalid lvalue in assignment drivers/isdn/hysdn/hysdn_proclog.c: In function `hysdn_log_open': drivers/isdn/hysdn/hysdn_proclog.c:279: error: invalid lvalue in assignment drivers/isdn/hysdn/hysdn_proclog.c:281: error: invalid lvalue in assignment drivers/isdn/hisax/callc.c: In function `stat_redir_result': drivers/isdn/hisax/callc.c:921: error: invalid lvalue in assignment drivers/isdn/hisax/avm_pci.c: In function `hdlc_empty_fifo': drivers/isdn/hisax/avm_pci.c:261: error: invalid lvalue in assignment drivers/isdn/hisax/avm_pci.c: In function `hdlc_fill_fifo': drivers/isdn/hisax/avm_pci.c:322: error: invalid lvalue in assignment --- 25-akpm/drivers/isdn/hisax/avm_pci.c | 6 ++++-- 25-akpm/drivers/isdn/hisax/callc.c | 2 +- 25-akpm/drivers/isdn/hysdn/hysdn_proclog.c | 6 +++--- 3 files changed, 8 insertions(+), 6 deletions(-) diff -puN drivers/isdn/hysdn/hysdn_proclog.c~gcc-35-hysdn drivers/isdn/hysdn/hysdn_proclog.c --- 25/drivers/isdn/hysdn/hysdn_proclog.c~gcc-35-hysdn Tue Feb 10 17:42:51 2004 +++ 25-akpm/drivers/isdn/hysdn/hysdn_proclog.c Tue Feb 10 17:43:39 2004 @@ -233,7 +233,7 @@ hysdn_log_read(struct file *file, char * return (0); inf->usage_cnt--; /* new usage count */ - (struct log_data **) file->private_data = &inf->next; /* next structure */ + file->private_data = &inf->next; /* next structure */ if ((len = strlen(inf->log_start)) <= count) { if (copy_to_user(buf, inf->log_start, len)) return -EFAULT; @@ -276,9 +276,9 @@ hysdn_log_open(struct inode *ino, struct cli(); pd->if_used++; if (pd->log_head) - (struct log_data **) filep->private_data = &(pd->log_tail->next); + filep->private_data = &pd->log_tail->next; else - (struct log_data **) filep->private_data = &(pd->log_head); + filep->private_data = &pd->log_head; restore_flags(flags); } else { /* simultaneous read/write access forbidden ! */ unlock_kernel(); diff -puN drivers/isdn/hisax/callc.c~gcc-35-hysdn drivers/isdn/hisax/callc.c --- 25/drivers/isdn/hisax/callc.c~gcc-35-hysdn Tue Feb 10 17:44:07 2004 +++ 25-akpm/drivers/isdn/hisax/callc.c Tue Feb 10 17:44:40 2004 @@ -918,7 +918,7 @@ static void stat_redir_result(struct Isd ic.driver = cs->myid; ic.command = ISDN_STAT_REDIR; ic.arg = chan; - (ulong)(ic.parm.num[0]) = result; + ic.parm.num[0] = result; cs->iif.statcallb(&ic); } /* stat_redir_result */ diff -puN drivers/isdn/hisax/avm_pci.c~gcc-35-hysdn drivers/isdn/hisax/avm_pci.c --- 25/drivers/isdn/hisax/avm_pci.c~gcc-35-hysdn Tue Feb 10 18:28:34 2004 +++ 25-akpm/drivers/isdn/hisax/avm_pci.c Tue Feb 10 18:30:11 2004 @@ -258,7 +258,8 @@ hdlc_empty_fifo(struct BCState *bcs, int debugl1(cs, "hdlc_empty_fifo: incoming packet too large"); return; } - ptr = (u_int *) p = bcs->hw.hdlc.rcvbuf + bcs->hw.hdlc.rcvidx; + p = bcs->hw.hdlc.rcvbuf + bcs->hw.hdlc.rcvidx; + ptr = (u_int *)p; bcs->hw.hdlc.rcvidx += count; if (cs->subtyp == AVM_FRITZ_PCI) { outl(idx, cs->hw.avm.cfg_reg + 4); @@ -319,7 +320,8 @@ hdlc_fill_fifo(struct BCState *bcs) } if ((cs->debug & L1_DEB_HSCX) && !(cs->debug & L1_DEB_HSCX_FIFO)) debugl1(cs, "hdlc_fill_fifo %d/%ld", count, bcs->tx_skb->len); - ptr = (u_int *) p = bcs->tx_skb->data; + p = bcs->tx_skb->data; + ptr = (u_int *)p; skb_pull(bcs->tx_skb, count); bcs->tx_cnt -= count; bcs->hw.hdlc.count += count; _