On Mon, Jan 04, 2016 at 11:27:10AM -0500, Nicholas Krause wrote: > Yes that's true and was wondering if you want me to fix it up to set > the pointer back to null first or if preferred around safe state.
The best solution is to set the dmar->iommu pointer after the error check for iommu_device_create(). Joerg -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/