diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2022-01-19 19:07:47 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2022-01-27 11:28:41 -0500 |
commit | 15a102e062af18e01daece409ee54765a3b4ec13 (patch) | |
tree | 1f97676f85efefcf39b8f98abea712c181ba215a /src/hw/nvme.c | |
parent | 6d462830e7cf9ce7689986327be3a317f1f990da (diff) | |
download | seabios-15a102e062af18e01daece409ee54765a3b4ec13.tar.gz |
sercon: Fix missing GET_LOW() to access rx_bytes
The variable rx_bytes is marked VARLOW, but there was a missing
GET_LOW() to access rx_bytes. Fix by copying rx_bytes to a local
variable and avoid the repetitive segment memory accesses.
Reported-by: Gabe Black <gabe.black@gmail.com>
Signed-off-by: Volker RĂ¼melin <vr_qemu@t-online.de>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/hw/nvme.c')
0 files changed, 0 insertions, 0 deletions