nvnet: Always return value in nvnet_get_reg

This commit is contained in:
Matt Borgerson 2020-12-31 15:36:56 -07:00 committed by mborgerson
parent a72cc138f4
commit 9004009bb3
1 changed files with 1 additions and 0 deletions

View File

@ -415,6 +415,7 @@ static uint32_t nvnet_get_reg(NvNetState *s, hwaddr addr, unsigned int size)
default:
assert(0); /* Unsupported register access. */
return 0;
}
}