Chen Qun a510d0c1cd 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>
2020-03-17 11:23:14 +00:00
..
2019-06-12 13:20:21 +02:00
2019-06-12 13:20:21 +02:00
2019-08-16 13:31:53 +02:00
2019-08-16 13:31:52 +02:00
2018-03-02 18:44:00 +00:00
2016-06-16 18:39:03 +02:00
2019-08-16 13:31:53 +02:00
2020-01-07 17:24:29 +04:00
2019-10-29 10:28:07 +08:00
2019-06-12 13:20:21 +02:00
2019-08-16 13:31:52 +02:00