linux/drivers/staging/speakup
Andrew Morton 09f9390d79 drivers/staging/speakup/devsynth.c: fix "buffer size is not provably correct" error
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: Arjan van de Ven <arjan@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-08-02 16:09:46 -07:00
..
buffers.c BKL: remove extraneous #include <smp_lock.h> 2010-11-17 08:59:32 -08:00
DefaultKeyAssignments
devsynth.c drivers/staging/speakup/devsynth.c: fix "buffer size is not provably correct" error 2011-08-02 16:09:46 -07:00
fakekey.c fakekey: Simplify speakup_fake_key_pressed through this_cpu_ops 2010-12-17 15:07:19 +01:00
i18n.c staging: speakup: i18n.c fix long lines 2010-10-19 10:06:04 -07:00
i18n.h
Kconfig
keyhelp.c Fix common misspellings 2011-03-31 11:26:23 -03:00
kobjects.c Staging: speakup: &&/|| confusion in silent_store() 2011-01-20 12:06:07 -08:00
main.c Remove unneeded version.h includes from drivers/staging/speakup/ 2011-07-05 10:39:38 -07:00
Makefile Staging: speakup: Makefile: Makefile clean up 2010-10-08 07:26:24 -07:00
selection.c staging: speakup: selection.c style fixes 2010-10-19 10:06:05 -07:00
serialio.c staging: speakup: serialio.c style fixes 2010-10-19 10:06:05 -07:00
serialio.h
speakup.h Remove unneeded version.h includes from drivers/staging/speakup/ 2011-07-05 10:39:38 -07:00
speakup_acnt.h
speakup_acntpc.c staging: speakup: speakup_acntpc.c: style fixes 2010-10-15 12:22:35 -07:00
speakup_acntsa.c staging: speakup: speakup_acntsa.c: style fixes 2010-10-15 12:22:35 -07:00
speakup_apollo.c staging: speakup: speakup_apollo.c: style fixes 2010-10-15 12:22:35 -07:00
speakup_audptr.c staging: speakup: speakup_audptr.c: style fixes 2010-10-15 12:22:36 -07:00
speakup_bns.c staging: speakup: speakup_bns.c: style fixes 2010-10-15 12:22:36 -07:00
speakup_decext.c staging: speakup: speakup_decext.c: style fixes 2010-10-15 12:22:36 -07:00
speakup_decpc.c staging: speakup: speakup_decpc.c: style fixes 2010-10-15 12:22:36 -07:00
speakup_dectlk.c staging: speakup: speakup_dectlk.c: style fixes 2010-10-15 12:22:38 -07:00
speakup_dtlk.c staging: speakup: speakup_dtlk.c: style fixes 2010-10-15 12:22:36 -07:00
speakup_dtlk.h
speakup_dummy.c staging: speakup: speakup_dummy.c: style fixes 2010-10-15 12:22:37 -07:00
speakup_keypc.c staging: speakup: speakup_keypc.c: style fixes 2010-10-15 12:22:37 -07:00
speakup_ltlk.c staging: speakup: speakup_ltlk.c: style fixes 2010-10-15 12:22:37 -07:00
speakup_soft.c staging: speakup: Use kstrtoul_from_user 2011-06-28 14:35:41 -07:00
speakup_spkout.c staging: speakup: speakup_spkout.c: style fixes 2010-10-15 12:22:38 -07:00
speakup_txprt.c staging: speakup: speakup_txprt.c: style fixes 2010-10-15 12:22:38 -07:00
speakupmap.h
speakupmap.map
spk_priv.h
spk_priv_keyinfo.h staging: speakup: enlosed macros with complex values in parenthesis 2011-02-04 13:01:02 -08:00
spk_types.h staging: speakup: enlosed macros with complex values in parenthesis 2011-02-04 13:01:02 -08:00
spkguide.txt Fix common misspellings 2011-03-31 11:26:23 -03:00
synth.c staging: speakup: synth.c style fixes 2010-10-19 10:06:05 -07:00
thread.c staging: speakup: thread.c style fixes 2010-10-19 10:06:05 -07:00
TODO
varhandlers.c staging: speakup: varhandlers.c style fixes 2010-10-19 10:06:05 -07:00