linux/arch/s390/mm
Heiko Carstens 041058a16a s390/cmm: make copy_from_user() invocation provably correct
Get rid of these two warnings:

In function 'copy_from_user',
    inlined from 'cmm_timeout_handler' at arch/s390/mm/cmm.c:310:
      uaccess.h:303: warning: call to 'copy_from_user_overflow' declared
      with attribute warning: copy_from_user() buffer size is not provably
      correct
In function 'copy_from_user',
    inlined from 'cmm_pages_handler' at arch/s390/mm/cmm.c:270:
      uaccess.h:303: warning: call to 'copy_from_user_overflow' declared
      with attribute warning: copy_from_user() buffer size is not provably
      correct

Change the "len" type to unsigned int, so we can make sure that there is no
buffer overflow. This also generates less code.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2013-10-24 17:17:07 +02:00
..
Makefile
cmm.c s390/cmm: make copy_from_user() invocation provably correct 2013-10-24 17:17:07 +02:00
dump_pagetables.c s390/mm: cleanup page table definitions 2013-08-22 12:20:06 +02:00
extable.c
extmem.c
fault.c s390/uaccess: always run the kernel in home space 2013-10-24 17:16:57 +02:00
gup.c s390/gup: handle zero nr_pages case correctly 2013-10-24 17:17:01 +02:00
hugetlbpage.c mm: migrate: check movability of hugepage in unmap_and_move_huge_page() 2013-09-11 15:57:49 -07:00
init.c s390: add support for IBM zBC12 machine 2013-07-26 13:25:21 +02:00
maccess.c s390: make various functions static, add declarations to header files 2013-09-07 11:58:03 +02:00
mem_detect.c
mmap.c mm: remove free_area_cache 2013-07-10 18:11:34 -07:00
page-states.c
pageattr.c s390/mm: do not initialize storage keys 2013-10-24 17:17:00 +02:00
pgtable.c s390/uaccess: always run the kernel in home space 2013-10-24 17:16:57 +02:00
vmem.c s390/mm: implement software referenced bits 2013-08-29 13:20:11 +02:00