aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/net/lcs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/s390/net/lcs.c')
-rw-r--r--drivers/s390/net/lcs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/s390/net/lcs.c b/drivers/s390/net/lcs.c
index 9b19ea13b4d8..0f19d540b655 100644
--- a/drivers/s390/net/lcs.c
+++ b/drivers/s390/net/lcs.c
@@ -1238,8 +1238,7 @@ lcs_set_mc_addresses(struct lcs_card *card, struct in_device *in4_dev)
1238 ipm = lcs_check_addr_entry(card, im4, buf); 1238 ipm = lcs_check_addr_entry(card, im4, buf);
1239 if (ipm != NULL) 1239 if (ipm != NULL)
1240 continue; /* Address already in list. */ 1240 continue; /* Address already in list. */
1241 ipm = (struct lcs_ipm_list *) 1241 ipm = kzalloc(sizeof(struct lcs_ipm_list), GFP_ATOMIC);
1242 kzalloc(sizeof(struct lcs_ipm_list), GFP_ATOMIC);
1243 if (ipm == NULL) { 1242 if (ipm == NULL) {
1244 pr_info("Not enough memory to add" 1243 pr_info("Not enough memory to add"
1245 " new multicast entry!\n"); 1244 " new multicast entry!\n");