diff options
| author | GONG, Ruiqi <[email protected]> | 2022-04-06 11:46:29 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2022-04-08 04:06:41 +0000 |
| commit | 27a5a5685d373cd8c18b1d83f42a83e5a2f93e6c (patch) | |
| tree | 8b8257ed892ebec37ff3459fe52ec5a38164d085 /net/mctp/af_mctp.c | |
| parent | hv_netvsc: Print value of invalid ID in netvsc_send_{completion,tx_complete}() (diff) | |
| download | kernel-27a5a5685d373cd8c18b1d83f42a83e5a2f93e6c.tar.gz kernel-27a5a5685d373cd8c18b1d83f42a83e5a2f93e6c.zip | |
net: mpls: fix memdup.cocci warning
Simply use kmemdup instead of explicitly allocating and copying memory.
Generated by: scripts/coccinelle/api/memdup.cocci
Signed-off-by: GONG, Ruiqi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/mctp/af_mctp.c')
0 files changed, 0 insertions, 0 deletions
