]> git.baikalelectronics.ru Git - kernel.git/commit
amdgpu: don't initialize range->list in amdgpu_hmm_init_range
authorChristoph Hellwig <hch@lst.de>
Tue, 6 Aug 2019 16:05:40 +0000 (19:05 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 7 Aug 2019 17:51:46 +0000 (14:51 -0300)
commitd65ed4ea39c183b58b2f72e8db92a12b99d56db1
tree9f88b4fe96dd28045085ad54e0ee44c7c3f07948
parent1179cec1619251393f54a0bee8188bd71e676716
amdgpu: don't initialize range->list in amdgpu_hmm_init_range

The list is used to add the range to another list as an entry in the core
hmm code, and intended as a private member not exposed to drivers.  There
is no need to initialize it in a driver.

Link: https://lore.kernel.org/r/20190806160554.14046-3-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c