]> git.baikalelectronics.ru Git - kernel.git/commit
netdevice: demote the type of some dev_addr_set() helpers
authorJakub Kicinski <kuba@kernel.org>
Tue, 12 Oct 2021 16:06:32 +0000 (09:06 -0700)
committerJakub Kicinski <kuba@kernel.org>
Wed, 13 Oct 2021 16:41:37 +0000 (09:41 -0700)
commit5a6b9e6069f30b14bc370670dcbd8da9e7c9d1e2
tree13d66a4ae18c75fc043f75a09a39ed79a1c7b822
parent9adb7d55bd894d3dfdbbca096a8a9b5778cdbd97
netdevice: demote the type of some dev_addr_set() helpers

__dev_addr_set() and dev_addr_mod() and pretty low level,
let the arguments be void, there's no chance for confusion
in callers converted to use them. Keep u8 in dev_addr_set()
because some of the callers are converted from a loop
and we want to make sure assignments are not from an array
of a different type.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/linux/netdevice.h