Loading drivers/char/msm_smd_pkt.c +4 −1 Original line number Original line Diff line number Diff line /* Copyright (c) 2019, The Linux Foundation. All rights reserved. /* Copyright (c) 2019-2020, The Linux Foundation. All rights reserved. * * * This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -166,6 +166,9 @@ static int smd_pkt_rpdev_cb(struct rpmsg_device *rpdev, void *buf, int len, unsigned long flags; unsigned long flags; struct sk_buff *skb; struct sk_buff *skb; if (!smd_pkt_devp) return -EINVAL; skb = alloc_skb(len, GFP_ATOMIC); skb = alloc_skb(len, GFP_ATOMIC); if (!skb) if (!skb) Loading Loading
drivers/char/msm_smd_pkt.c +4 −1 Original line number Original line Diff line number Diff line /* Copyright (c) 2019, The Linux Foundation. All rights reserved. /* Copyright (c) 2019-2020, The Linux Foundation. All rights reserved. * * * This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -166,6 +166,9 @@ static int smd_pkt_rpdev_cb(struct rpmsg_device *rpdev, void *buf, int len, unsigned long flags; unsigned long flags; struct sk_buff *skb; struct sk_buff *skb; if (!smd_pkt_devp) return -EINVAL; skb = alloc_skb(len, GFP_ATOMIC); skb = alloc_skb(len, GFP_ATOMIC); if (!skb) if (!skb) Loading