diff options
author | Antoine Tenart <[email protected]> | 2020-06-25 17:42:06 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-06-25 16:22:11 -0700 |
commit | b487032ee683fcff08e070d93080de02a4506695 (patch) | |
tree | 0808ff4aa5828aa71f98c9a5e04db526dec9fcf7 /tools/perf/scripts/python | |
parent | b16a213b4d68022011ddaabd583c855d7e5ec5b2 (diff) |
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 <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Antoine Tenart <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions