]> git.baikalelectronics.ru Git - kernel.git/commit
x86/iommu: Use NULL instead of plain 0 for __IOMMU_INIT
authorMathias Krause <minipli@googlemail.com>
Sun, 2 Sep 2012 21:31:46 +0000 (23:31 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 5 Sep 2012 08:52:26 +0000 (10:52 +0200)
commit807889f358cd81ef080648c407ebf7d42e4a37e4
treed2157adf3560bdb559f16839675d3c03fec536ed
parente1d715022ed5b1f2403c4beef5d8779e004e1acf
x86/iommu: Use NULL instead of plain 0 for __IOMMU_INIT

IOMMU_INIT_POST and IOMMU_INIT_POST_FINISH pass the plain value
0 instead of NULL to __IOMMU_INIT. Fix this and make sparse
happy by doing so.

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Cc: Joerg Roedel <joerg.roedel@amd.com>
Link: http://lkml.kernel.org/r/1346621506-30857-8-git-send-email-minipli@googlemail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/iommu_table.h