diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2018-01-11 13:25:38 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2018-01-11 13:25:38 +0000 |
commit | 894d74cc4f2fa577765bae711b9dc9ac9309521e (patch) | |
tree | e6f2f22ae7bc86d84ade57931b04e03d76638176 /hw/net | |
parent | 52cfd5846b8979805077ce7608aa36c18a2a9f32 (diff) | |
download | qemu-894d74cc4f2fa577765bae711b9dc9ac9309521e.zip qemu-894d74cc4f2fa577765bae711b9dc9ac9309521e.tar.gz qemu-894d74cc4f2fa577765bae711b9dc9ac9309521e.tar.bz2 |
imx_fec: Fix a typo in imx_enet_receive()
Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: Jason Wang <jasowang@redhat.com>
Cc: Philippe Mathieu-Daudé <f4bug@amsat.org>
Cc: qemu-devel@nongnu.org
Cc: qemu-arm@nongnu.org
Cc: yurovsky@gmail.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/net')
-rw-r--r-- | hw/net/imx_fec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/imx_fec.c b/hw/net/imx_fec.c index 6cb9e2e..c1cf7f9 100644 --- a/hw/net/imx_fec.c +++ b/hw/net/imx_fec.c @@ -1150,7 +1150,7 @@ static ssize_t imx_enet_receive(NetClientState *nc, const uint8_t *buf, size += 2; } - /* Huge frames are truncted. */ + /* Huge frames are truncated. */ if (size > s->regs[ENET_FTRL]) { size = s->regs[ENET_FTRL]; flags |= ENET_BD_TR | ENET_BD_LG; |