e1000: Fix warning from code review
commitb10fec9bfac17e932f630d341180d04be97074bc
authorStefan Weil <weil@mail.berlios.de>
Thu, 19 Nov 2009 18:44:55 +0000 (19 19:44 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 3 Dec 2009 21:25:58 +0000 (3 15:25 -0600)
tree5615d80356cecbfc0eb02b568377743b899d9e26
parent53ea95de527f146d902aaf442625e0fe6dd25524
e1000: Fix warning from code review

A code review run by Steve Grubb complained about code in e1000.c:

In hw/e1000.c at line 89, vlan is declared to be 4 bytes.
At line 382 is an attempt to do a memmove over it with a size of 12.

This was fixed by splitting the memmove in two calls and
adding a comment to the declaration of vlan and data.

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/e1000.c