aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorIdo Schimmel <[email protected]>2021-06-24 19:47:24 +0000
committerDavid S. Miller <[email protected]>2021-06-24 22:41:55 +0000
commit911bd1b1f08f31b74607c3e989955b97da588279 (patch)
tree9ebb4ae484347d88d57b953e6b6bcba013a1d257 /net/switchdev/switchdev.c
parentgve: Fix warnings reported for DQO patchset (diff)
downloadkernel-911bd1b1f08f31b74607c3e989955b97da588279.tar.gz
kernel-911bd1b1f08f31b74607c3e989955b97da588279.zip
mlxsw: core_env: Avoid unnecessary memcpy()s
Simply get a pointer to the data in the register payload instead of copying it to a temporary buffer. Signed-off-by: Ido Schimmel <[email protected]> Reviewed-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions