aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-imx.c
diff options
context:
space:
mode:
authorJiapeng Chong <[email protected]>2023-06-25 16:45:13 +0800
committerJakub Kicinski <[email protected]>2023-06-29 10:52:18 -0700
commit5b6d345d1b65d67624349e5de22227492c637576 (patch)
tree0a49c58e76e7ff88f285cd0c1b8bce8ce5b1daa7 /drivers/usb/cdns3/cdns3-imx.c
parentfa01eba11f0e57c767a5eab5291c7a01407a00be (diff)
Bluetooth: hci_conn: Use kmemdup() to replace kzalloc + memcpy
Use kmemdup rather than duplicating its implementation. ./net/bluetooth/hci_conn.c:1880:7-14: WARNING opportunity for kmemdup. Reported-by: Abaci Robot <[email protected]> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5597 Signed-off-by: Jiapeng Chong <[email protected]> Signed-off-by: Luiz Augusto von Dentz <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions