]> git.karo-electronics.de Git - karo-tx-linux.git/commit
x86_64 allmodconfig:
authorAndrew Morton <akpm@linux-foundation.org>
Sat, 16 Jul 2011 13:31:06 +0000 (23:31 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 26 Jul 2011 05:05:16 +0000 (15:05 +1000)
commit5304e841a78260ae663adc7379acb94342b66b43
tree70e5ab0f308e02de85d568f58e6b62b30750ed20
parent1dbb86eb3280f45c65e5b6b4e6f74db9fe8a5edb
x86_64 allmodconfig:

In file included from arch/x86/include/asm/uaccess.h:572,
                 from include/linux/uaccess.h:5,
                 from drivers/staging/speakup/devsynth.c:4:
In function 'copy_from_user',
    inlined from 'speakup_file_write' at drivers/staging/speakup/devsynth.c:28:
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

I'm not sure what was unprovable about it, but size_t is the correct type
anyway.

Also replace needless min_t() with min()

Cc: William Hubbs <w.d.hubbs@gmail.com>
Cc: Greg KH <greg@kroah.com>
Cc: Arjan van de Ven <arjan@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/staging/speakup/devsynth.c