diff options
-rw-r--r-- | drivers/isdn/hisax/fsm.c | 2 | ||||
-rw-r--r-- | drivers/isdn/hisax/hfc_sx.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isdn/hisax/fsm.c b/drivers/isdn/hisax/fsm.c index 1bb291021fdb..c7a94713e9ec 100644 --- a/drivers/isdn/hisax/fsm.c +++ b/drivers/isdn/hisax/fsm.c | |||
@@ -26,7 +26,7 @@ FsmNew(struct Fsm *fsm, struct FsmNode *fnlist, int fncount) | |||
26 | { | 26 | { |
27 | int i; | 27 | int i; |
28 | 28 | ||
29 | fsm->jumpmatrix = (FSMFNPTR *) | 29 | fsm->jumpmatrix = |
30 | kzalloc(sizeof(FSMFNPTR) * fsm->state_count * fsm->event_count, GFP_KERNEL); | 30 | kzalloc(sizeof(FSMFNPTR) * fsm->state_count * fsm->event_count, GFP_KERNEL); |
31 | if (!fsm->jumpmatrix) | 31 | if (!fsm->jumpmatrix) |
32 | return -ENOMEM; | 32 | return -ENOMEM; |
diff --git a/drivers/isdn/hisax/hfc_sx.c b/drivers/isdn/hisax/hfc_sx.c index 90f34ae2b80f..dc4574f735ef 100644 --- a/drivers/isdn/hisax/hfc_sx.c +++ b/drivers/isdn/hisax/hfc_sx.c | |||
@@ -1479,7 +1479,7 @@ int setup_hfcsx(struct IsdnCard *card) | |||
1479 | release_region(cs->hw.hfcsx.base, 2); | 1479 | release_region(cs->hw.hfcsx.base, 2); |
1480 | return (0); | 1480 | return (0); |
1481 | } | 1481 | } |
1482 | if (!(cs->hw.hfcsx.extra = (void *) | 1482 | if (!(cs->hw.hfcsx.extra = |
1483 | kmalloc(sizeof(struct hfcsx_extra), GFP_ATOMIC))) { | 1483 | kmalloc(sizeof(struct hfcsx_extra), GFP_ATOMIC))) { |
1484 | release_region(cs->hw.hfcsx.base, 2); | 1484 | release_region(cs->hw.hfcsx.base, 2); |
1485 | printk(KERN_WARNING "HFC-SX: unable to allocate memory\n"); | 1485 | printk(KERN_WARNING "HFC-SX: unable to allocate memory\n"); |