]> git.baikalelectronics.ru Git - kernel.git/commit
AMD IOMMU: check for invalid device pointers
authorJoerg Roedel <joerg.roedel@amd.com>
Thu, 4 Sep 2008 13:04:26 +0000 (15:04 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 19 Sep 2008 10:59:03 +0000 (12:59 +0200)
commitbae644feea33fae1d36b5a19c59945a74285df76
treeb5537684c5ea8d354d5e94b358741f4db3e05d7c
parent3123a456e06439990f3312f67ddc2575dbe3759a
AMD IOMMU: check for invalid device pointers

Currently AMD IOMMU code triggers a BUG_ON if NULL is passed as the
device. This is inconsistent with other IOMMU implementations.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/amd_iommu.c