diff options
author | Stefan Weil <weil@mail.berlios.de> | 2009-11-19 19:44:55 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-12-03 15:25:58 -0600 |
commit | b10fec9bfac17e932f630d341180d04be97074bc (patch) | |
tree | 5615d80356cecbfc0eb02b568377743b899d9e26 /hw/ne2000.h | |
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>
Diffstat (limited to 'hw/ne2000.h')
0 files changed, 0 insertions, 0 deletions