diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2025-07-14 17:55:21 +0100 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2025-07-21 10:21:42 +0800 |
commit | 01b327c9a609cb613da1e04c5af5f4fcc7d9c0a3 (patch) | |
tree | 98849323192ec70cc260d656a51f2f094b31dbef /scripts/tracetool/backend/syslog.py | |
parent | 871a6e5b339f0b5e71925ec7d3f452944a1c82d3 (diff) | |
download | qemu-01b327c9a609cb613da1e04c5af5f4fcc7d9c0a3.zip qemu-01b327c9a609cb613da1e04c5af5f4fcc7d9c0a3.tar.gz qemu-01b327c9a609cb613da1e04c5af5f4fcc7d9c0a3.tar.bz2 |
hw/net/npcm_gmac.c: Unify length and prev_buf_size variables
After the bug fix in the previous commit, the length and prev_buf_size
variables are identical, except that prev_buf_size is uint32_t and
length is uint16_t. We can therefore unify them. The only place where
the type makes a difference is that we will truncate the packet
at 64K when sending it; this commit preserves that behaviour
by using a local variable when doing the packet send.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'scripts/tracetool/backend/syslog.py')
0 files changed, 0 insertions, 0 deletions