diff options
-rw-r--r-- | drivers/atm/solos-pci.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/atm/solos-pci.c b/drivers/atm/solos-pci.c index 3f7c4ef1e111..e3c25dc9edc1 100644 --- a/drivers/atm/solos-pci.c +++ b/drivers/atm/solos-pci.c | |||
@@ -841,7 +841,7 @@ static int popen(struct atm_vcc *vcc) | |||
841 | return -EINVAL; | 841 | return -EINVAL; |
842 | } | 842 | } |
843 | 843 | ||
844 | skb = alloc_skb(sizeof(*header), GFP_ATOMIC); | 844 | skb = alloc_skb(sizeof(*header), GFP_KERNEL); |
845 | if (!skb) { | 845 | if (!skb) { |
846 | if (net_ratelimit()) | 846 | if (net_ratelimit()) |
847 | dev_warn(&card->dev->dev, "Failed to allocate sk_buff in popen()\n"); | 847 | dev_warn(&card->dev->dev, "Failed to allocate sk_buff in popen()\n"); |
@@ -881,7 +881,7 @@ static void pclose(struct atm_vcc *vcc) | |||
881 | } | 881 | } |
882 | spin_unlock(&card->tx_queue_lock); | 882 | spin_unlock(&card->tx_queue_lock); |
883 | 883 | ||
884 | skb = alloc_skb(sizeof(*header), GFP_ATOMIC); | 884 | skb = alloc_skb(sizeof(*header), GFP_KERNEL); |
885 | if (!skb) { | 885 | if (!skb) { |
886 | dev_warn(&card->dev->dev, "Failed to allocate sk_buff in pclose()\n"); | 886 | dev_warn(&card->dev->dev, "Failed to allocate sk_buff in pclose()\n"); |
887 | return; | 887 | return; |
@@ -1268,7 +1268,7 @@ static int atm_init(struct solos_card *card, struct device *parent) | |||
1268 | card->atmdev[i]->phy_data = (void *)(unsigned long)i; | 1268 | card->atmdev[i]->phy_data = (void *)(unsigned long)i; |
1269 | atm_dev_signal_change(card->atmdev[i], ATM_PHY_SIG_FOUND); | 1269 | atm_dev_signal_change(card->atmdev[i], ATM_PHY_SIG_FOUND); |
1270 | 1270 | ||
1271 | skb = alloc_skb(sizeof(*header), GFP_ATOMIC); | 1271 | skb = alloc_skb(sizeof(*header), GFP_KERNEL); |
1272 | if (!skb) { | 1272 | if (!skb) { |
1273 | dev_warn(&card->dev->dev, "Failed to allocate sk_buff in atm_init()\n"); | 1273 | dev_warn(&card->dev->dev, "Failed to allocate sk_buff in atm_init()\n"); |
1274 | continue; | 1274 | continue; |