hw/block/nvme: remove redundant invalid_lba_range trace
commitbc8afa62b4ce389b9847080a65e7c58696a30c06
authorGollu Appalanaidu <anaidu.gollu@samsung.com>
Wed, 14 Apr 2021 07:04:35 +0000 (14 12:34 +0530)
committerKlaus Jensen <k.jensen@samsung.com>
Mon, 17 May 2021 07:15:13 +0000 (17 09:15 +0200)
tree95b1f9d641a10fe38eb17c22e6ee1edb5d961ca9
parent6005ee07c380cbde44292f5f6c96e7daa70f4f7d
hw/block/nvme: remove redundant invalid_lba_range trace

Currently pci_nvme_err_invalid_lba_range trace is called individually at
each nvme_check_bounds() call site.

Move the trace event to nvme_check_bounds() and remove the redundant
events.

Signed-off-by: Gollu Appalanaidu <anaidu.gollu@samsung.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
[k.jensen: commit message fixup]
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
hw/block/nvme.c