diff options
Diffstat (limited to 'drivers/isdn/hisax/hfc_2bs0.c')
| -rw-r--r-- | drivers/isdn/hisax/hfc_2bs0.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/isdn/hisax/hfc_2bs0.c b/drivers/isdn/hisax/hfc_2bs0.c index 14dada42874e..34d59992839a 100644 --- a/drivers/isdn/hisax/hfc_2bs0.c +++ b/drivers/isdn/hisax/hfc_2bs0.c | |||
| @@ -557,7 +557,8 @@ init_send(struct BCState *bcs) | |||
| 557 | { | 557 | { |
| 558 | int i; | 558 | int i; |
| 559 | 559 | ||
| 560 | if (!(bcs->hw.hfc.send = kmalloc(32 * sizeof(unsigned int), GFP_ATOMIC))) { | 560 | bcs->hw.hfc.send = kmalloc_array(32, sizeof(unsigned int), GFP_ATOMIC); |
| 561 | if (!bcs->hw.hfc.send) { | ||
| 561 | printk(KERN_WARNING | 562 | printk(KERN_WARNING |
| 562 | "HiSax: No memory for hfc.send\n"); | 563 | "HiSax: No memory for hfc.send\n"); |
| 563 | return; | 564 | return; |
