Make unknown register reads predictable.
Reported by: Coverity CID: 1357525
This commit is contained in:
parent
98e82c02e5
commit
e95b7573d7
@ -2000,6 +2000,7 @@ e82545_read_register(struct e82545_softc *sc, uint32_t offset)
|
||||
break;
|
||||
default:
|
||||
DPRINTF("Unknown read register: 0x%x\r\n", offset);
|
||||
retval = 0;
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user