[PATCH v2] staging: rtl8712: Use ether_addr_copy() instead of memcpy()

Dan Carpenter dan.carpenter at oracle.com
Mon May 18 14:38:44 UTC 2015


On Mon, May 18, 2015 at 07:47:06PM +0530, Jagan Teki wrote:
> struct eeprom_priv {
> 	u8                         bautoload_fail_flag;  /*     0     1 */
> 	u8                         bempty;               /*     1     1 */
> 	u8                         sys_config;           /*     2     1 */
> 	u8                         mac_addr[6];          /*     3     6 */
>         ......
> };

This means it's not aligned as we want.

regards,
dan carpenter



More information about the devel mailing list