drm/tegra: Fix NULL deref in debugfs/iova
When IOMMU is off, ->mm_lock is not initialized and ->mm is NULL. Signed-off-by: NMichał Mirosław <mirq-linux@rere.qmqm.pl> Signed-off-by: NThierry Reding <treding@nvidia.com>
Showing
想要评论请 注册 或 登录
When IOMMU is off, ->mm_lock is not initialized and ->mm is NULL. Signed-off-by: NMichał Mirosław <mirq-linux@rere.qmqm.pl> Signed-off-by: NThierry Reding <treding@nvidia.com>