mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-09 01:50:35 +00:00
Octeon SDK: avoid use of uninitialized variable
Reported by: Clang MFC after: 1 week Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
8573e2c388
commit
1d3ffc719e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=340299
|
@ -684,6 +684,7 @@ static inline int cvmx_pip_get_bsel_table_index(cvmx_wqe_t *work)
|
|||
bsel_cfg.u64 = cvmx_read_csr(CVMX_PIP_BSEL_EXT_CFGX(bit));
|
||||
bsel_pos.u64 = cvmx_read_csr(CVMX_PIP_BSEL_EXT_POSX(bit));
|
||||
|
||||
index = 0;
|
||||
for (y = 0; y < 8; y++)
|
||||
{
|
||||
char *ptr = (char *)cvmx_phys_to_ptr(work->packet_ptr.s.addr);
|
||||
|
|
Loading…
Reference in a new issue