diff options
author | 2022-09-27 10:43:44 +0800 | |
---|---|---|
committer | 2022-09-27 10:36:33 +0200 | |
commit | 1abf6ab490c518164a3ffb62e4533850aaecb6fd (patch) | |
tree | 4214d177edf578b7793dee905596257d2a5224ba /drivers/usb/phy/phy-generic.c | |
parent | usb: musb: sunxi: Switch to use dev_err_probe() helper (diff) | |
download | wireguard-linux-1abf6ab490c518164a3ffb62e4533850aaecb6fd.tar.xz wireguard-linux-1abf6ab490c518164a3ffb62e4533850aaecb6fd.zip |
usb: cdc-wdm: 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>
Acked-by: Oliver Neukum <oneukum@suse.com>
Link: https://lore.kernel.org/r/20220927024344.14352-1-shangxiaojing@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/phy/phy-generic.c')
0 files changed, 0 insertions, 0 deletions