]> git.baikalelectronics.ru Git - kernel.git/commit
iommu: Use %pa and %zx instead of casting
authorJoe Perches <joe@perches.com>
Sun, 23 Jun 2013 19:29:04 +0000 (12:29 -0700)
committerJoerg Roedel <joro@8bytes.org>
Mon, 24 Jun 2013 10:31:49 +0000 (12:31 +0200)
commitb9a85a50b9481dd6749fc6416c080153022e3c4f
treee17fa4eb5522b992a0e9a051795adb2d0177cca8
parentb0a667c5e04b8353ee38736b9a7c568cc796c499
iommu: Use %pa and %zx instead of casting

printk supports using %pa for phys_addr_t and
%zx for size_t so use those instead of %lx and
casts to unsigned long.

Other miscellaneous changes around this:

Always use 0x%zx for size instead of one use of decimal.
Coalesce format and align arguments.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
drivers/iommu/iommu.c