Emil Goode
7c10f1cd31
staging: speakup: fix warnings by adding __user annotations
...
This patch fixes the following sparse warnings by adding
__user annotations.
drivers/staging/speakup/speakup_soft.c:248:34: warning:
incorrect type in argument 1 (different address spaces)
drivers/staging/speakup/speakup_soft.c:248:34:
expected void [noderef] <asn:1>*dst
drivers/staging/speakup/speakup_soft.c:248:34:
got char *[assigned] cp
drivers/staging/speakup/speakup_soft.c:272:40: warning:
incorrect type in argument 1 (different address spaces)
drivers/staging/speakup/speakup_soft.c:272:40:
expected char const [noderef] <asn:1>*s
drivers/staging/speakup/speakup_soft.c:272:40:
got char const *buf
drivers/staging/speakup/speakup_soft.c:306:17: warning:
incorrect type in initializer (incompatible argument 2
(different address spaces))
drivers/staging/speakup/speakup_soft.c:306:17:
expected long ( *read )( ... )
drivers/staging/speakup/speakup_soft.c:306:17:
got long ( static [toplevel] *<noident> )( ... )
drivers/staging/speakup/speakup_soft.c:307:18: warning:
incorrect type in initializer (incompatible argument 2
(different address spaces))
drivers/staging/speakup/speakup_soft.c:307:18:
expected long ( *write )( ... )
drivers/staging/speakup/speakup_soft.c:307:18:
got long ( static [toplevel] *<nfile_operationsoident> )( ... )
drivers/staging/speakup/devsynth.c:29:41: warning:
incorrect type in argument 2 (different address spaces)
drivers/staging/speakup/devsynth.c:29:41:
expected void const [noderef] <asn:1>*from
drivers/staging/speakup/devsynth.c:29:41: got char const *ptr
drivers/staging/speakup/devsynth.c:62:17: warning:
incorrect type in initializer (incompatible argument 2
(different address spaces))
drivers/staging/speakup/devsynth.c:62:17:
expected long ( *read )( ... )
drivers/staging/speakup/devsynth.c:62:17:
got long ( static [toplevel] *<noident> )( ... )
drivers/staging/speakup/devsynth.c:63:18: warning:
incorrect type in initializer (incompatible argument 2
(different address spaces))
drivers/staging/speakup/devsynth.c:63:18:
expected long ( *write )( ... )
drivers/staging/speakup/devsynth.c:63:18:
got long ( static [toplevel] *<noident> )( ... )
Signed-off-by: Emil Goode <emilgoode@gmail.com>
Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-05-22 15:35:52 -07:00
..
2013-01-17 13:31:07 -08:00
2013-05-22 15:35:52 -07:00
2013-01-07 14:08:15 -08:00
2013-05-16 16:11:08 -07:00
2013-01-07 14:06:31 -08:00
2013-05-17 14:53:50 -07:00
2013-01-17 13:31:07 -08:00
2013-05-22 15:35:39 -07:00
2013-05-22 15:35:39 -07:00
2013-04-05 15:03:09 -07:00
2013-05-16 16:11:09 -07:00
2012-09-05 13:15:07 -07:00
2012-07-09 13:06:21 -07:00
2013-05-22 15:35:38 -07:00
2013-01-07 14:06:31 -08:00
2013-05-16 16:11:09 -07:00
2013-01-07 14:06:31 -08:00
2013-01-07 14:06:31 -08:00
2013-05-16 16:11:10 -07:00
2013-05-16 16:17:29 -07:00
2013-05-16 16:14:47 -07:00
2013-05-22 15:35:38 -07:00
2013-01-07 14:06:31 -08:00
2013-05-22 15:35:38 -07:00
2013-01-07 14:06:31 -08:00
2013-05-22 15:35:52 -07:00
2013-01-07 14:06:31 -08:00
2013-01-07 14:06:31 -08:00
2013-04-30 17:04:03 -07:00
2011-02-04 13:01:02 -08:00
2013-05-16 16:14:50 -07:00
2011-02-04 13:01:02 -08:00
2011-03-31 11:26:23 -03:00
2013-05-16 16:17:30 -07:00
2013-05-16 16:14:49 -07:00
2013-05-16 16:17:29 -07:00