drm/nouveau/nouveau: fix incorrect sizeof on args.src an args.dst
authorColin Ian King <colin.king@canonical.com>
Fri, 29 Nov 2019 16:28:28 +0000 (16:28 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Feb 2020 07:36:28 +0000 (08:36 +0100)
commit531d0ac5fbbdac565ebf43453e0a4a4bd7d991b9
tree13a145123728ed0dd6cd7527f5b0c2a178871f76
parentd34ecf4949de12f0e0ab1310d0effd7f23edbdb8
drm/nouveau/nouveau: fix incorrect sizeof on args.src an args.dst

[ Upstream commit f42e4b337b327b1336c978c4b5174990a25f68a0 ]

The sizeof is currently on args.src and args.dst and should be on
*args.src and *args.dst. Fortunately these sizes just so happen
to be the same size so it worked, however, this should be fixed
and it also cleans up static analysis warnings

Addresses-Coverity: ("sizeof not portable")
Fixes: f268307ec7c7 ("nouveau: simplify nouveau_dmem_migrate_vma")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/nouveau/nouveau_dmem.c