linux-bl808/drivers/net/phy/mscc
Antoine Tenart b487032ee6 net: phy: mscc: ptp: fix a smatch error
The following error was reported by smatch:
vsc85xx_ts_read_csr() error: uninitialized symbol 'blk_hw'.

In practice this is very unlikely, as all the block identifiers given to
this functions are handled and described in an enum. The smatch error is
fixed by doing what is already done in vsc85xx_ts_write_csr: using the
"PROCESSOR" block by default.

Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-06-25 16:22:11 -07:00
..
Makefile net: phy: mscc: 1588 block initialization 2020-06-24 14:33:16 -07:00
mscc.h net: phy: mscc: timestamping and PHC support 2020-06-24 14:33:16 -07:00
mscc_fc_buffer.h net: phy: mscc: fix copyright and author information in MACsec 2020-06-24 14:33:16 -07:00
mscc_mac.h net: phy: mscc: fix copyright and author information in MACsec 2020-06-24 14:33:16 -07:00
mscc_macsec.c net: phy: mscc: macsec: fix sparse warnings 2020-06-25 16:22:10 -07:00
mscc_macsec.h net: phy: mscc: fix copyright and author information in MACsec 2020-06-24 14:33:16 -07:00
mscc_main.c net: phy: mscc: fix a possible double unlock 2020-06-25 16:22:11 -07:00
mscc_ptp.c net: phy: mscc: ptp: fix a smatch error 2020-06-25 16:22:11 -07:00
mscc_ptp.h net: phy: mscc: 1588 block initialization 2020-06-24 14:33:16 -07:00