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

From: Dan Carpenter
Date: Mon May 18 2015 - 10:39:18 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/