iommu/amd: Set global pointers to NULL after freeing them
authorJoerg Roedel <jroedel@suse.de>
Fri, 16 Jun 2017 14:09:58 +0000 (16:09 +0200)
committerJoerg Roedel <jroedel@suse.de>
Thu, 22 Jun 2017 10:54:20 +0000 (12:54 +0200)
commitf601927136d69be49f0a14ae820b44c02fa591ba
treed9a257e13d87ff0fe163fc36fa4c5c796b2baf1b
parent151b09031a76ba6b6b83f94953074d6f10aa30b3
iommu/amd: Set global pointers to NULL after freeing them

Avoid any tries to double-free these pointers.

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