lkml.org 
[lkml]   [2018]   [Nov]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4.18 146/171] drm/amdgpu: Fix typo in amdgpu_vmid_mgr_init
    Date
    4.18-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Rex Zhu <Rex.Zhu@amd.com>

    commit 3df27645395e8f79c0dc20a15cf1da61f376000d upstream.

    fix a typo in for loop: i->j

    Reviewed-by: Christian König <christian.koenig@amd.com>
    Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
    Cc: stable@vger.kernel.org
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

    ---
    drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
    +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
    @@ -574,7 +574,7 @@ void amdgpu_vmid_mgr_init(struct amdgpu_
    /* skip over VMID 0, since it is the system VM */
    for (j = 1; j < id_mgr->num_ids; ++j) {
    amdgpu_vmid_reset(adev, i, j);
    - amdgpu_sync_create(&id_mgr->ids[i].active);
    + amdgpu_sync_create(&id_mgr->ids[j].active);
    list_add_tail(&id_mgr->ids[j].list, &id_mgr->ids_lru);
    }
    }

    \
     
     \ /
      Last update: 2018-11-19 19:19    [W:4.056 / U:0.500 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site