commit | b10fec9bfac17e932f630d341180d04be97074bc | [log] [tgz] |
---|---|---|
author | Stefan Weil <weil@mail.berlios.de> | Thu Nov 19 19:44:55 2009 +0100 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Thu Dec 03 15:25:58 2009 -0600 |
tree | 5615d80356cecbfc0eb02b568377743b899d9e26 | |
parent | 53ea95de527f146d902aaf442625e0fe6dd25524 [diff] |
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>