gma500: mmu: unmap the correct address
authorPan Bian <bianpan2016@163.com>
Sun, 29 Oct 2017 05:55:12 +0000 (13:55 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 30 Oct 2017 10:21:55 +0000 (11:21 +0100)
commit39c9ce70f13a3127a8057e30b48a239bf08f7c8e
tree35bf0dd52dfba5513d233392ff0997181cfe675b
parent4e7b212075d9c4b71af9528bdaa81e642fab0e90
gma500: mmu: unmap the correct address

The function kunmap_atomatic() is called on the same variable twice,
i.e. pt->v. In the second call, its parameter should be variable v
rather than pt->v.

Signed-off-by: Pan Bian <bianpan2016@163.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/1509256512-5962-1-git-send-email-bianpan2016@163.com
drivers/gpu/drm/gma500/mmu.c