On 10/15/20 8:14 PM, Ben Widawsky wrote:
Asserts are used for developer bugs. As registering a bar of the wrong size is not something that should be possible for a user to achieve, this is a developer bug.While here, use the more obvious helper function. Signed-off-by: Ben Widawsky <[email protected]> --- hw/pci/pci.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
