summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorChen Qun2020-03-13 13:32:42 +0100
committerPeter Maydell2020-03-17 12:23:14 +0100
commita510d0c1cd5e5cf267f9893368bb1c4ee7ccca19 (patch)
tree3569894ff0dc4fe774a69330ddfcc6defa4e18fa /python
parenthw/arm/fsl-imx6: Wire up USB controllers (diff)
downloadqemu-a510d0c1cd5e5cf267f9893368bb1c4ee7ccca19.tar.gz
qemu-a510d0c1cd5e5cf267f9893368bb1c4ee7ccca19.tar.xz
qemu-a510d0c1cd5e5cf267f9893368bb1c4ee7ccca19.zip
hw/net/imx_fec: write TGSR and TCSR3 in imx_enet_write()
The current code causes clang static code analyzer generate warning: hw/net/imx_fec.c:858:9: warning: Value stored to 'value' is never read value = value & 0x0000000f; ^ ~~~~~~~~~~~~~~~~~~ hw/net/imx_fec.c:864:9: warning: Value stored to 'value' is never read value = value & 0x000000fd; ^ ~~~~~~~~~~~~~~~~~~ According to the definition of the function, the two “value” assignments should be written to registers. Reported-by: Euler Robot <euler.robot@huawei.com> Signed-off-by: Chen Qun <kuhn.chenqun@huawei.com> Message-id: 20200313123242.13236-1-kuhn.chenqun@huawei.com Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions