[PATCH] drm: tegra: fix NULL deref in debugfs/iova

Thierry Reding thierry.reding at gmail.com
Thu Aug 17 15:34:29 UTC 2017


On Mon, Aug 14, 2017 at 11:53:45PM +0200, Michał Mirosław wrote:
> When IOMMU is off, ->mm_lock is not initialized and ->mm is NULL.
> 
> Signed-off-by: Michał Mirosław <mirq-linux at rere.qmqm.pl>
> ---
>  drivers/gpu/drm/tegra/drm.c | 8 +++++---
>  1 file changed, 5 insertions(+), 3 deletions(-)

Applied, thanks!

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170817/7f9ce7eb/attachment.sig>


More information about the dri-devel mailing list