]> git.baikalelectronics.ru Git - kernel.git/commit
dma-debug: Fix compile warning with PAE enabled
authorJoerg Roedel <joerg.roedel@amd.com>
Thu, 29 Oct 2009 15:25:50 +0000 (16:25 +0100)
committerJoerg Roedel <joerg.roedel@amd.com>
Thu, 29 Oct 2009 15:25:50 +0000 (16:25 +0100)
commit0f8e9e0621ccf80071f099e4f5440a3f550fbef0
treee83d2943e4e4a8203892464f0926d24183c0c715
parent61f1b9edc95b33df689a3ef47d0887d2179baacf
dma-debug: Fix compile warning with PAE enabled

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>
lib/dma-debug.c