On 10/15/20 9:55 PM, Philippe Mathieu-Daudé wrote:
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 <ben.widaw...@intel.com>
---
hw/pci/pci.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <phi...@redhat.com>
Maybe 'assert(3)' -> 'assert()' in subject.