Tag: 22905b8594d58a6fceeb4510a57e34571a075b45

staging: rtl8712: replace memset(x,0,ETH_ALEN)

Author: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> eth_zero_addr() is a wrapper function for memset if 0 is going to be assigned to a mac address. The aforementioned function replaces memset. In addition, linux/etherdevice.h was included as a header since it is the file that defines the inline function eth_zero_addr(). The changes were carried out using the following coccinelle …

Continue reading