On Mon, 2013-07-22 at 22:29 +0200, Paul Bolle wrote:
And also note that recently (I think since v3.10, but I haven't
checked)
actually no copy_from_user() related warnings show up when building for
x86_32 and using Fedora-based .config. At least, they don't show up
anymore when I build locally. I'm not sure what caused that.
That seems to be caused by commit
2fb0815c9ee6b9ac50e15dd8360ec76d9fa46a22 ("gcc4: disable
__compiletime_object_size for GCC 4.6+"), which was indeed released with
v3.10. So, apparently, the copy_from_user() checks need a GCC fix to be
useful in the first place, at least for current Fedora releases (as
Fedora 18 is already at GCC 4.7.2).
Paul Bolle