iommu: Warn once when device_group callback returns NULL
authorJoerg Roedel <jroedel@suse.de>
Wed, 28 Jun 2017 10:52:48 +0000 (12:52 +0200)
committerJoerg Roedel <jroedel@suse.de>
Wed, 28 Jun 2017 11:29:46 +0000 (13:29 +0200)
commit72dcac633475a5b331cf21f3525467d0e123395a
treeef6aa57bb06464b46957fa6bb218964906495c91
parent8faf5e5a12c511410de1590cf310ec331c5ec7b1
iommu: Warn once when device_group callback returns NULL

This callback should never return NULL. Print a warning if
that happens so that we notice and can fix it.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/iommu.c