Memory address would be great in hexadecimal format to be read easily.
Signed-off-by: Minwoo Im <minwoo.im.dev@gmail.com>
Signed-off-by: Keith Busch <keith.busch@intel.com>
static void show_host_mem_buffer(struct nvme_host_mem_buffer *hmb)
{
printf("\tHost Memory Descriptor List Entry Count (HMDLEC): %u\n", hmb->hmdlec);
- printf("\tHost Memory Descriptor List Address (HMDLAU): %u\n", hmb->hmdlau);
- printf("\tHost Memory Descriptor List Address (HMDLAL): %u\n", hmb->hmdlal);
+ printf("\tHost Memory Descriptor List Address (HMDLAU): 0x%x\n", hmb->hmdlau);
+ printf("\tHost Memory Descriptor List Address (HMDLAL): 0x%x\n", hmb->hmdlal);
printf("\tHost Memory Buffer Size (HSIZE): %u\n", hmb->hsize);
}