Series is: Reviewed-by: Alex Deucher <[email protected]>
On Mon, Mar 8, 2021 at 1:36 PM Christian König <[email protected]> wrote: > > Silence static checker warning. > > Signed-off-by: Christian König <[email protected]> > --- > 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 > [email protected] > https://lists.freedesktop.org/mailman/listinfo/amd-gfx _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
