Tag: f80c1d57637800f3da8eece0859d1e942a119ea8

Staging: rtl8192u: Replace memset with eth_broadcast_addr

Author: Bhumika Goyal <bhumirks@gmail.com> Use eth_broadcast_addr to assign the broadcast address to the given address array instead of memset when the second argument is a broacast address 0xff. ETH_ALEN is a macro with value 6, so 6 is treated as ETH_ALEN if it is the third argument of memset. Done using coccinelle. @@ expression e; …

Continue reading