-
Joerg Roedel authored
When PAE is enabled in the kernel configuration the size of phys_addr_t differs from the size of a void pointer. The gcc prints a warning about that in dma-debug code. This patch fixes the warning by converting the output to unsigned long long instead of a pointer. Signed-off-by:
Joerg Roedel <joerg.roedel@amd.com>
Joerg Roedel authoredWhen PAE is enabled in the kernel configuration the size of phys_addr_t differs from the size of a void pointer. The gcc prints a warning about that in dma-debug code. This patch fixes the warning by converting the output to unsigned long long instead of a pointer. Signed-off-by:
Joerg Roedel <joerg.roedel@amd.com>
dma-debug.c 31.44 KiB