Make unknown register reads predictable.
Reported by: Coverity CID: 1357525
This commit is contained in:
parent
42498e047c
commit
b0b33eab6a
@ -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