]> www.infradead.org Git - users/dwmw2/qemu.git/commit
e1000e: Use memcpy to intialize registers
authorAkihiko Odaki <akihiko.odaki@daynix.com>
Thu, 23 Feb 2023 10:19:55 +0000 (19:19 +0900)
committerJason Wang <jasowang@redhat.com>
Fri, 10 Mar 2023 07:35:38 +0000 (15:35 +0800)
commita7539f9d749efb322d72106acbbfd1e4e5c8b5bc
tree5a6d8335bbf07566876c40adc6ffd13520248bf0
parent9eb525ee89bcea1515089d8c6cfb01155f6bbf3d
e1000e: Use memcpy to intialize registers

Use memcpy instead of memmove to initialize registers. The initial
register templates and register table instances will never overlap.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/net/e1000e_core.c