From: Jiyoung Jeong Date: Mon, 18 Feb 2019 04:23:06 +0000 (+0900) Subject: [RAMEN9610-12257][COMMON][MODAP-18889] Change alloc type GFP_KERNEL -> GFP_ATOMIC X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=80254952f7fe97847bf26fd3f4fb22c4e857fa7d;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [RAMEN9610-12257][COMMON][MODAP-18889] Change alloc type GFP_KERNEL -> GFP_ATOMIC Change-Id: I7ff09d8a728c02e5687c448f380302d073d41538 Signed-off-by: Jiyoung Jeong --- diff --git a/drivers/misc/modem_if/modem_io_device.c b/drivers/misc/modem_if/modem_io_device.c index ed35b644d418..1bf360d7bd55 100644 --- a/drivers/misc/modem_if/modem_io_device.c +++ b/drivers/misc/modem_if/modem_io_device.c @@ -254,7 +254,7 @@ static int gather_multi_frame(struct exynos_link_header *hdr, } mif_info("Total multi-frame packet size is %d\n", total_len); - skb_new = alloc_skb(total_len, GFP_KERNEL); + skb_new = alloc_skb(total_len, GFP_ATOMIC); if (unlikely(skb_new == NULL)) { mif_err("ERR - alloc_skb fail\n"); skb_queue_purge(multi_q);