summaryrefslogtreecommitdiff
path: root/Documentation/CodingStyle
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2021-10-19 20:12:38 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-10-20 20:33:58 +0300
commit3928f64b1e473ec951cfbeac42634ff51d4f7f33 (patch)
tree2d20e99dde0d92d80559f50c064c84b44ef4180a /Documentation/CodingStyle
parent349f631da4e1bdcb1b4a2a3ee630d689bfe6724d (diff)
downloadlinux-3928f64b1e473ec951cfbeac42634ff51d4f7f33.tar.xz
staging: use eth_hw_addr_set() for dev->addr_len cases
Convert all staging drivers from memcpy(... dev->addr_len) to eth_hw_addr_set(): @@ expression dev, np; @@ - memcpy(dev->dev_addr, np, dev->addr_len) + eth_hw_addr_set(dev, np) Manually confirmed these are all etherdevices. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Link: https://lore.kernel.org/r/20211019171243.1412240-4-kuba@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/CodingStyle')
0 files changed, 0 insertions, 0 deletions