]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8712: Use ETH_ALEN instead of hardcoded value
authorMauro Dreissig <mukadr@gmail.com>
Sun, 5 Jul 2020 14:35:50 +0000 (11:35 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Jul 2020 11:53:59 +0000 (13:53 +0200)
commit7de381e795f0e3b6159b35accdcb217227b58d30
treea41e9b6e26c7275d327b83d623d0d868316ac1f9
parenta5bd6516b75a0dc0de9037f80f3ae7a846b1efe3
staging: rtl8712: Use ETH_ALEN instead of hardcoded value

Use macro ETH_ALEN which defines the number of octets in
an ethernet address.

Signed-off-by: Mauro Dreissig <mukadr@gmail.com>
Link: https://lore.kernel.org/r/20200705143552.9368-4-mukadr@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/hal_init.c