aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorLars-Peter Clausen <[email protected]>2012-10-22 16:09:05 +0200
committerBob Liu <[email protected]>2012-12-13 13:50:57 +0800
commit2a7e0775d0b0dfc083f97c72dc885f6dab8dd27b (patch)
tree0cf5120ff01f1818aa940fa6bfa2fd3cdad801e1 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parent10dc42b5b262f3bb2e4532759e4e1147ebf6a22f (diff)
Blackfin: Annotate strnlen_user and strlen_user 'src' parameter with __user
The 'src' parameter of strnlen_user and strlen_user is supposed to take a userspace pointer, so annotate it with __user. This fixes the following and similar sparse warnings: fs/binfmt_elf_fdpic.c:671:36: warning: incorrect type in argument 1 (different address spaces) fs/binfmt_elf_fdpic.c:671:36: expected char const *src fs/binfmt_elf_fdpic.c:671:36: got char [noderef] <asn:1>*[assigned] p fs/binfmt_elf_fdpic.c:683:36: warning: incorrect type in argument 1 (different address spaces) fs/binfmt_elf_fdpic.c:683:36: expected char const *src fs/binfmt_elf_fdpic.c:683:36: got char [noderef] <asn:1>*[assigned] p Signed-off-by: Lars-Peter Clausen <[email protected]> Signed-off-by: Bob Liu <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions