The function misses checking return value of tb_sw_read() before it
accesses the value that was read. Fix this by checking the return value
first.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| cap.c | ||
| ctl.c | ||
| ctl.h | ||
| dma_port.c | ||
| dma_port.h | ||
| domain.c | ||
| eeprom.c | ||
| icm.c | ||
| lc.c | ||
| nhi.c | ||
| nhi.h | ||
| nhi_ops.c | ||
| nhi_regs.h | ||
| path.c | ||
| property.c | ||
| switch.c | ||
| tb.c | ||
| tb.h | ||
| tb_msgs.h | ||
| tb_regs.h | ||
| tmu.c | ||
| tunnel.c | ||
| tunnel.h | ||
| usb4.c | ||
| xdomain.c | ||