[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAPM=9tynF-NiNdk=AyJYBz_=x3bQi_-T8i+LXYL+08rBE8XYDw@mail.gmail.com>
Date: Tue, 21 Feb 2012 20:16:42 +0000
From: Dave Airlie <airlied@...il.com>
To: Toralf Förster <toralf.foerster@....de>
Cc: dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org
Subject: Re: compile error in drivers/gpu/drm/radeon/radeon_state.o
2012/2/21 Toralf Förster <toralf.foerster@....de>:
>
> Hello,
>
> the build of latest git (.config attached) failed, make ends with :
> ...
> CC [M] drivers/gpu/drm/radeon/radeon_cp.o
> CC [M] drivers/gpu/drm/radeon/radeon_state.o
> In file included from /home/tfoerste/devel/linux/arch/x86/include/asm/uaccess.h:573:0,
> from include/drm/drmP.h:64,
> from drivers/gpu/drm/radeon/radeon_state.c:30:
> In function 'copy_from_user',
> inlined from 'radeon_cp_clear' at drivers/gpu/drm/radeon/radeon_state.c:2171:6:
> /home/tfoerste/devel/linux/arch/x86/include/asm/uaccess_32.h:211:26: error: call to 'copy_from_user_overflow' declared with attribute error:
> copy_from_user() buffer size is not provably correct
> make[4]: *** [drivers/gpu/drm/radeon/radeon_state.o] Error 1
> make[3]: *** [drivers/gpu/drm/radeon] Error 2
> make[2]: *** [drivers/gpu/drm] Error 2
> make[1]: *** [drivers/gpu] Error 2
> make: *** [drivers] Error 2
>
turn off CONFIG_DEBUG_STRICT_USER_COPY_CHECKS
Its a bug in gcc's checks code.
Dave.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists