aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn/hisax/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/isdn/hisax/config.c')
-rw-r--r--drivers/isdn/hisax/config.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/isdn/hisax/config.c b/drivers/isdn/hisax/config.c
index e10350360f2f..e4823ab2b127 100644
--- a/drivers/isdn/hisax/config.c
+++ b/drivers/isdn/hisax/config.c
@@ -1721,11 +1721,11 @@ static void hisax_b_l1l2(struct hisax_if *ifc, int pr, void *arg)
1721 hisax_b_sched_event(bcs, B_RCVBUFREADY); 1721 hisax_b_sched_event(bcs, B_RCVBUFREADY);
1722 break; 1722 break;
1723 case PH_DATA | CONFIRM: 1723 case PH_DATA | CONFIRM:
1724 bcs->tx_cnt -= (int) arg; 1724 bcs->tx_cnt -= (long)arg;
1725 if (test_bit(FLG_LLI_L1WAKEUP,&bcs->st->lli.flag)) { 1725 if (test_bit(FLG_LLI_L1WAKEUP,&bcs->st->lli.flag)) {
1726 u_long flags; 1726 u_long flags;
1727 spin_lock_irqsave(&bcs->aclock, flags); 1727 spin_lock_irqsave(&bcs->aclock, flags);
1728 bcs->ackcnt += (int) arg; 1728 bcs->ackcnt += (long)arg;
1729 spin_unlock_irqrestore(&bcs->aclock, flags); 1729 spin_unlock_irqrestore(&bcs->aclock, flags);
1730 schedule_event(bcs, B_ACKPENDING); 1730 schedule_event(bcs, B_ACKPENDING);
1731 } 1731 }
@@ -1789,7 +1789,7 @@ static void hisax_b_l2l1(struct PStack *st, int pr, void *arg)
1789 1789
1790 switch (pr) { 1790 switch (pr) {
1791 case PH_ACTIVATE | REQUEST: 1791 case PH_ACTIVATE | REQUEST:
1792 B_L2L1(b_if, pr, (void *) st->l1.mode); 1792 B_L2L1(b_if, pr, (void *)(unsigned long)st->l1.mode);
1793 break; 1793 break;
1794 case PH_DATA | REQUEST: 1794 case PH_DATA | REQUEST:
1795 case PH_PULL | INDICATION: 1795 case PH_PULL | INDICATION: