Series is: Reviewed-by: Alex Deucher <alexander.deuc...@amd.com>
On Mon, Mar 8, 2021 at 1:36 PM Christian König <ckoenig.leichtzumer...@gmail.com> wrote: > > Silence static checker warning. > > Signed-off-by: Christian König <christian.koe...@amd.com> > --- > drivers/gpu/drm/radeon/radeon_ttm.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/radeon/radeon_ttm.c > b/drivers/gpu/drm/radeon/radeon_ttm.c > index 5ea647f454d3..808941e31d34 100644 > --- a/drivers/gpu/drm/radeon/radeon_ttm.c > +++ b/drivers/gpu/drm/radeon/radeon_ttm.c > @@ -921,7 +921,7 @@ static ssize_t radeon_ttm_vram_read(struct file *f, char > __user *buf, > value = RREG32(RADEON_MM_DATA); > spin_unlock_irqrestore(&rdev->mmio_idx_lock, flags); > > - r = put_user(value, (uint32_t *)buf); > + r = put_user(value, (uint32_t __user *)buf); > if (r) > return r; > > -- > 2.25.1 > > _______________________________________________ > amd-gfx mailing list > amd-gfx@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/amd-gfx _______________________________________________ amd-gfx mailing list amd-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/amd-gfx