wwan_hwsim: Use skb_put_data() instead of skb_put/memcpy pair
authorShang XiaoJing <shangxiaojing@huawei.com>
Tue, 27 Sep 2022 02:45:11 +0000 (10:45 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 29 Sep 2022 07:37:40 +0000 (09:37 +0200)
commit6db239f01abc7e04a9bc2a0c59c1db1c1ebf9eb3
treec1c3b3f6dd33d726672cf7cfb6bcd3c0ef9ebefc
parent85e69a7dd693667b3e3114713d61edef7552ca88
wwan_hwsim: Use skb_put_data() instead of skb_put/memcpy pair

Use skb_put_data() instead of skb_put() and memcpy(), which is clear.

Signed-off-by: Shang XiaoJing <shangxiaojing@huawei.com>
Link: https://lore.kernel.org/r/20220927024511.14665-1-shangxiaojing@huawei.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/wwan/wwan_hwsim.c