Subject: linux-next: build failure in drivers/mfd/aat2870-core.c

From: Paul Gortmaker <[email-masked]>
Date: Wed, 28 Sep 2011 18:10:27 -0400

Hi folks,

I was testing an x86_64 allyesconfig in today's next tree,
and came across this compile error:

In file included from /home/paul/4.x/module.h/linux-2.6.git/arch/x86/include/asm/uaccess.h:575,
                 from /home/paul/4.x/module.h/linux-2.6.git/include/linux/uaccess.h:5,
                 from /home/paul/4.x/module.h/linux-2.6.git/drivers/mfd/aat2870-core.c:27:
In function ‘copy_from_user’,
    inlined from ‘aat2870_reg_write_file’ at /home/paul/4.x/module.h/linux-2.6.git/drivers/mfd/aat2870-core.c:304:
/home/paul/4.x/module.h/linux-2.6.git/arch/x86/include/asm/uaccess_64.h:64: error: call to ‘copy_from_user_overflow’ declared with attribute error: copy_from_user() buffer size is not provably correct
make[3]: *** [drivers/mfd/aat2870-core.o] Error 1

I wasn't sure if any of you were aware of this yet. as I didn't
see it mentioned in the recent linux-next traffic

Paul.