Re: copy_to_user

2004-08-29 Thread Erdi Chen
Dave Airlie wrote: /home/dri/drm-top/linux/via_dma.c: In function `via_dispatch_cmdbuffer': /home/dri/drm-top/linux/via_dma.c:168: warning: ignoring return value of `copy_from_user', declared with attribute warn_unused_result Erdi can you fix this one as it is a bug in the via_dma.c Dave. Done. --

Re: copy_to_user

2004-08-29 Thread Dave Airlie
> Latest Linus kernel has two warnings: > > /home/dri/drm-top/linux/radeon_state.c: In function > `radeon_cp_dispatch_texture': > /home/dri/drm-top/linux/radeon_state.c:1444: warning: ignoring return > value of `copy_to_user', declared with attribute warn_unused_result I'll take care of this one